Skip to main content
Glama

Agent Rest Stop

DuplicateGuard

Remember a buyer and resource for the rest of the day. The first call is new.

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": {
      "buyer_id": "<buyer_id>",
      "resource_id": "<resource_id>"
    },
    "name": "DuplicateGuard"
  }
}

Input Schema

NameRequiredDescriptionDefault
buyer_idYes
resource_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two real behaviors: a same-day retention window and that the first invocation is treated as new. It omits what a repeat call returns or does (error, false flag, no-op), where the memory is stored (process-local vs shared), and any concurrency or failure behavior.

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?

Two short sentences with the core behavior and the response signal front-loaded, no filler. Brevity is only slightly over-aggressive given the resulting ambiguity about return values.

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

Completeness2/5

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

No annotations, no output schema, and 0% parameter coverage mean the description must supply everything, but it leaves the return value undefined and the storage scope unstated. For a stateful dedup tool this leaves meaningful gaps an agent would need to fill by guessing.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for both parameters. It never explains what buyer_id or resource_id are, their format, or scoping semantics beyond their names, leaving the required parameters effectively undocumented in both places.

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

Purpose3/5

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

The description conveys a record-and-check behavior tied to a (buyer, resource) pair with a daily window and a 'first call is new' signal, which hints at duplicate detection. However, the verb 'remember' is vague and the tool's actual function (dedup/idempotency guard) must be inferred from the name rather than stated. It also does not distinguish itself from any sibling such as IdempotencyKey.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to call this versus alternatives, no prerequisites, and no exclusions. The phrase 'the first call is new' implies a usage pattern but leaves the agent to derive it. No sibling tool is referenced.

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