Skip to main content
Glama

Record a measured foot length

set_foot_measurement

Records the length of the person's foot in millimetres, heel to longest toe. More precise than a shoe they own, and worth asking for when they have no shoes to give or the answer matters. A measurement and owned shoes can both be present.

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>",
      "lengthMm": "<lengthMm>"
    },
    "name": "set_foot_measurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthMmYesFoot length in millimetres. A typical adult is between 220 and 320.
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/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world write, so the safety profile is covered. The description adds useful domain context (precision relative to owned shoes, coexistence with shoe records) but says nothing about behavior an agent would care about here, such as whether a repeat call overwrites a previously recorded measurement.

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 short sentences, front-loaded with the core action and unit, followed by the decision guidance and the coexistence caveat. No redundant or filler wording.

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 write with full schema coverage and clear annotations, the description covers purpose, units, and when to ask for the measurement. The only meaningful gap is the absence of any statement about overwrite/update semantics on repeated calls.

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 both parameters are already documented, including the typical 220-320 mm range for lengthMm. The description only adds the 'heel to longest toe' measurement basis, a modest clarification beyond the schema; baseline 3 is appropriate.

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 resource (records foot length in millimetres) with a precise definition of the measurement, heel to longest toe. The second sentence implicitly distinguishes it from the add_shoe sibling by contrasting a measurement against 'a shoe they own', so an agent can tell the two paths apart without opening either schema.

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?

Gives clear when-to-use conditions: when the person has no shoes to give, or when the answer matters. It also pre-empts the most likely misreading by noting a measurement and owned shoes can coexist, so the agent won't treat it as mutually exclusive with add_shoe. It stops short of naming the alternative tools explicitly.

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