Skip to main content
Glama

AIBITIOUS 404 LAB - 32 Free Agent Experiments

Idempotency Audit

duplicate_actions
Read-only

Find duplicate attempts and conflicting key reuse. Offline check. Supply payload like {"calls":[{"idempotency_key":"k1","payload_fingerprint":"hash1"},{"idempotency_key":"k1","payload_fingerprint":"hash1"}]}. Advisory result only.

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": {
      "payload": "<payload>"
    },
    "name": "duplicate_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered and "Offline check" largely restates openWorldHint=false. The one genuinely additive claim is "Advisory result only," which tells the agent nothing is blocked or mutated, but detection logic and limits remain undisclosed.

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?

Four short sentences, front-loaded with purpose, followed by scope, the payload example, and the advisory caveat in a sensible order. The inline JSON is dense but earns its space as the only parameter documentation; no filler sentences.

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

Completeness3/5

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

With no output schema and an opaque nested payload, the description should say more about what comes back beyond "advisory" — e.g. per-key findings or conflict listings. Input guidance is adequate for the complexity, but the return side is left entirely to inference.

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 0% and the single payload parameter is an unrestricted object, so the description carries the full burden. It does so with a concrete example exposing idempotency_key and payload_fingerprint, which is the difference between callable and unusable. It stops short of stating whether either field is optional or what other keys are accepted.

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?

"Find duplicate attempts and conflicting key reuse" states a specific verb plus two precisely named conditions, so an agent knows exactly what class of problem this detects. It does not name or distinguish itself from adjacent siblings like retry_schedule or receipt_chain, which keeps it out of 5 territory.

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

Usage Guidelines3/5

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

"Offline check" and "Advisory result only" imply this is a non-enforcing, pre-flight style validation, which is useful context. However, there is no explicit statement of when to reach for this versus a retry or receipt-audit sibling, and no prerequisites or exclusions are given.

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.