{"ok":true,"tool":"global-seen-stamp","module_version":"0.1.0","result":{"slug":"global-seen-stamp","name":"Global Seen Stamp","version":"0.1.0","category":"coordination","status":"beta","mode":"atomic","summary":"Atomically record whether an opaque content hash has been seen.","description":"Use this shared, expiring content-hash registry to deduplicate work across agents. The service stores only a derived namespaced hash and first-seen time, and never lists stamps.","when_to_use":["Agents need to know whether an opaque item was already observed.","A shared expiring deduplication marker is sufficient."],"do_not_use_when":["A durable audit history is required.","The marker must never expire."],"tested_with":["HTTP/1.1","HTTP/2","MCP Streamable HTTP"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9._:-]+$"},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"ttl_seconds":{"type":"integer","minimum":60,"maximum":2592000}},"required":["namespace","content_sha256","ttl_seconds"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"seen_before":{"type":"boolean"},"stamp_hash":{"type":"string"},"first_seen_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"ttl_seconds_remaining":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["seen_before","stamp_hash","first_seen_at","expires_at","ttl_seconds_remaining"],"additionalProperties":false},"payment":{"kind":"free"},"side_effects":["Creates a temporary seen stamp when none exists."],"retention":"A derived namespaced hash and first-seen timestamp remain in Valkey only until the requested TTL expires. Raw content is never accepted.","limits":{"min_ttl_seconds":60,"max_ttl_seconds":2592000,"max_client_requests_per_minute":30,"max_global_requests_per_minute":120},"examples":{"input":{"namespace":"crawl","content_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","ttl_seconds":86400},"output":{"seen_before":false,"stamp_hash":"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","first_seen_at":"2026-07-24T12:00:00.000Z","expires_at":"2026-07-25T12:00:00.000Z","ttl_seconds_remaining":86400},"negative":[{"scenario":"A durable audit history is required.","expected_error":"INVALID_INPUT","charged":false}]},"execution":{"errors":[{"code":"INVALID_INPUT","retryable":false,"charged":false,"recovery":"Correct the request to match input_schema."},{"code":"TOOL_PAUSED","retryable":true,"charged":false,"recovery":"Wait for the operator to resume the tool."},{"code":"RATE_LIMITED","retryable":true,"charged":false,"recovery":"Retry after the response Retry-After interval."},{"code":"DEPENDENCY_UNAVAILABLE","retryable":true,"charged":false,"recovery":"Retry with the same idempotency identity."}],"idempotency":{"required":true,"mock_or_unpaid_header":"Idempotency-Key","x402_extension":null,"replay_retention":"up to 24 hours"}},"endpoints":{"describe":"/v1/tools/global-seen-stamp","execute":"/v1/tools/global-seen-stamp"}},"meta":{"request_id":"req_a721d58bb0fd4a34a9b4884a5b465bc6","observed_at":"2026-07-24T23:26:26.087Z"}}