Skip to main content
Glama

FMF Proof

Create-Then-Find Dedupe Probe

create_then_find

Before you retry a create that timed out: we search the venue by your natural key with one public GET and return found_by_venue with the venue's id, duplicates_found, or not_found. "Not found" is only returned on a complete list; a paginated list, a 404, a throttle or an unreachable venue is never reported as not found.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_then_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchNoNatural-key fields that identify your record; all must equal.
id_pathNoWhere a record's id sits (default "id").
items_pathNoWhere the list sits in the response (auto-detected for common shapes).
search_urlNoA public GET at the venue that lists or searches records. No credentials.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses that the probe is a single public GET with no credentials, enumerates the result shapes, and explicitly states the false-negative policy (a paginated list, 404, throttle, or unreachable venue is never reported as not_found). That caveat is exactly the behavioral context an agent needs to avoid deduping on a bad read.

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 sentences, front-loaded with the trigger, with no filler. The middle clause ("we search the venue by your natural key with one public GET and return found_by_venue with...") is slightly tangled and could be split, but nothing is wasted.

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 four-parameter tool with a nested object and no output schema, the description covers the important ground: what it does, what it returns, and the critical caveat about false negatives. It leaves a gap around the optional parameters (0 required) — an agent is not told what defaults apply if `search_url` is omitted or how `items_path` auto-detection is overridden.

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

Parameters3/5

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

Schema coverage is 100%, so every parameter already carries its own description; the baseline is 3. The description reinforces the meaning of `match` ("your natural key") and `search_url` ("one public GET"), but adds nothing about `id_path`, `items_path`, or why no parameter is required.

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 gives a specific verb and resource: it searches the venue by the caller's natural key and returns found_by_venue with the venue's id, duplicates_found, or not_found. The framing ("dedupe probe before you retry a create that timed out") makes the intent unambiguous, though it never contrasts itself with sibling probes such as idempotency_check or delivery_dedupe, leaving differentiation to the agent.

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?

The trigger condition is stated up front and precisely: use this "before you retry a create that timed out." That is a clear when-to-use signal. It does not name a when-not case or an alternative tool, so it falls 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