Skip to main content
Glama

Workflow Fieldwork

check_duplicate_ids

Read-onlyIdempotent

Report repeated IDs and missing or invalid IDs in up to 100 redacted JSON records. Returns one-based row numbers. Free and deterministic.

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": {
      "rows": "<rows>"
    },
    "name": "check_duplicate_ids"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYes
id_keyNoid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds real value beyond that: one-based row numbers in the result, a 100-record limit, and the 'free and deterministic' cost/repeatability note. It does not describe what happens to records beyond the cap or what an 'invalid' ID is.

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?

Three short sentences, front-loaded with the purpose, then the return shape, then cost/determinism. Every sentence contributes; no filler or repetition.

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?

For a simple two-parameter read-only checker with no output schema, the description covers purpose, result format (one-based row numbers), size limit, and determinism. The one meaningful gap is the id_key parameter, which an agent would have to discover from the schema alone.

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 carries the full burden, yet it never explains id_key — the parameter that selects which field holds the ID, defaulting to 'id'. It only implicitly confirms the 100-item cap that the schema already enforces via maxItems. One of two parameters is left semantically unexplained.

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?

States a specific verb ('Report') and resource ('repeated IDs and missing or invalid IDs in up to 100 redacted JSON records'), which lets an agent understand the function immediately. It does not distinguish itself from the sibling tools list_repairs or triage_job, but those appear unrelated so the omission is minor.

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?

No explicit when-to-use guidance, prerequisites, or exclusions are given. The phrase 'redacted JSON records' and the 100-record cap imply a pre-processing validation context, but an agent must infer that this is for checking ID uniqueness before ingestion rather than being told so.

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