Skip to main content
Glama

Recommend a size in a shoe they are considering

recommend_size
Read-only

Works out which size to buy in a shoe the person does not own yet, from the shoes they do own and any foot measurement. Needs at least one owned shoe or a measurement first. Returns the size and what it was based on.

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": {
      "sessionId": "<sessionId>",
      "answers": "<answers>"
    },
    "name": "recommend_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersYesThe answers from find_shoe identifying the shoe they are considering. A size is not needed here: working it out is the point.
sessionIdYesThe session id returned by start_session. Everything the person tells you is stored against it, and it is the only thing linking one call to the next.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is lower; the description adds a real precondition and, importantly, discloses the return content ("the size and what it was based on") even though no output schema exists. It does not say what happens when data is insufficient or how uncertainty is expressed, which are the remaining behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: purpose first, precondition second, return value last. No redundant restatement of the title and no filler.

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 fully documented parameters and no output schema, the description covers what the tool does, its prerequisite, and what comes back — enough to call it correctly. The only omission is failure behavior when no shoe or measurement exists.

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 description coverage is 100%, so the schema already explains both sessionId and answers in detail, including that a size must not be supplied. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and outcome ("works out which size to buy") scoped to a shoe the person does not own yet, and grounds it in owned shoes plus measurements. It is clearly distinguishable from siblings like find_shoe (identifies a shoe) and set_foot_measurement (supplies raw data).

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?

"Needs at least one owned shoe or a measurement first" gives an explicit precondition, so the agent knows when the tool is and isn't callable. It stops short of naming the sibling to call when the precondition is unmet (add_shoe or set_foot_measurement), leaving that inference to the agent.

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