Skip to main content
Glama

Duplicate-Work Detector

dedupe

Duplicate-Work Detector: before your agent pays to run a task, check whether someone in your team (same private namespace_key) already did it: normalized fingerprint -> HIT with the earlier result pointer, or MISS (pass result_pointer to register this run). By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/dedupe, $0.002 via x402.)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "namespace_key": "<namespace_key>",
      "task": "<task>"
    },
    "name": "dedupe"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYestask
ttl_hoursNottl hours
namespace_keyYesnamespace key
result_pointerNoresult pointer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / namespace_key / description
      Added value: +"namespace key"
    • addedInput schema / properties / result_pointer / description
      Added value: +"result pointer"
    • addedInput schema / properties / task / description
      Added value: +"task"
    • addedInput schema / properties / ttl_hours / description
      Added value: +"ttl hours"
  2. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly=false, destructive=false, openWorld=true, idempotent=false; the description adds the HIT/MISS contract, the fact that supplying result_pointer turns the call into a registration (a write), team scoping via namespace_key, and cost/auth context ($0.002 via x402 in production, free in the AYNE playzone). It omits what ttl_hours controls and whether a HIT ever mutates state, which keeps it at 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core rule is one front-loaded sentence with the HIT/MISS branches stated compactly. The trailing vendor and pricing parenthetical is somewhat promotional but is arguably material for a paid, x402-gated call, so it earns partial keep.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description supplies the return contract itself (HIT with earlier result pointer vs MISS), which is the critical missing piece. Remaining gaps are minor: ttl_hours semantics, fingerprint normalization details, and idempotency behavior on repeat registration.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the schema descriptions are tautological ('namespace_key' -> 'namespace key'), and the description genuinely compensates: it explains that namespace_key defines the private team scope and that result_pointer is the registration payload for a MISS. task and ttl_hours still receive no added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (check) and a specific resource (whether a task was already done), plus the scoping unit (same private namespace_key) and the outcome shape (HIT with earlier result pointer / MISS). It is immediately distinguishable from generic task tools, though it never names a sibling it competes with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Timing guidance is explicit and front-loaded: 'before your agent pays to run a task.' It also tells the agent what to do on each branch (on MISS, pass result_pointer to register the run). No when-not-to-use case or named alternative is given, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources