Skip to main content
Glama

Find a shoe in the catalogue

find_shoe
Read-only

Identifies a shoe one answer at a time. Call it with no answers to get the list of brands, then again with each answer appended: brand, then model, then colourway, then size. It replies with the next question and the answers allowed, until the shoe is identified. Append each option's id, not the name shown beside it: the name is for the person, the id is the answer. Always work through this rather than guessing, because only the answers it offers exist and a shoe we do not hold cannot be sized.

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": "find_shoe"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersNoThe answers so far, in order. Each is the id of an option the previous call offered. Empty or omitted to start.
purposeNoWhat the shoe is for. A shoe they own needs a size, so the walk asks for one. A shoe they are considering does not, because working the size out is the point, and that walk finishes a step earlier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnly/openWorld=false/destructive=false, and the description adds real behavioural detail beyond them: the reply is the next question plus the permitted answers, the walk terminates when the shoe is identified, and ids (not display names) must be appended. It stops short of covering failure modes, e.g. what happens if a stale or invalid id is submitted.

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?

Front-loaded with the core mechanic and then the operating protocol; nearly every sentence carries load. The id-versus-name point is restated in two clauses ("Append each option's id, not the name shown beside it: the name is for the person, the id is the answer"), which is mild redundancy.

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?

With only two parameters and no output schema, the description covers the call protocol, the return shape (next question + allowed answers) and the stopping condition, so an agent can drive it correctly. The one omission is that it never mentions the purpose parameter, which shortens the walk for 'considering' — that nuance lives only in the schema.

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 the baseline is 3; the description still adds value by specifying that answers are ordered, that each must be the id of an option from the previous call, and by naming the actual answer sequence (brand → model → colourway → size). It says nothing about the purpose enum, which is left entirely to the schema.

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

Purpose5/5

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

"Identifies a shoe one answer at a time" states a specific verb and resource plus the unusual interaction model (incremental question/answer narrowing). It is clearly distinct from catalogue-mutation siblings such as add_shoe, list_shoes or remove_shoe without needing their schemas.

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

Usage Guidelines5/5

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

The description prescribes the exact call sequence (empty first, then one appended answer per call: brand, model, colourway, size) and explicitly rules out the alternative strategy of guessing. It also explains why the alternative fails — only offered answers exist, and unstocked shoes cannot be sized.

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