Skip to main content
Glama

QuoteBuild

Prepare a calculation

prepare_calculation
Read-only

Returns the exact questions and typed inputs required before a deterministic calculation can run.

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": {
      "calculatorId": "<calculatorId>"
    },
    "name": "prepare_calculation"
  }
}

Input Schema

NameRequiredDescriptionDefault
suppliedNo
calculatorIdYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
warningsYes
provenanceNo
assumptionsYes
nextActionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered without the description. The description does add one genuinely useful behavioral fact: the tool returns 'questions' rather than performing work, i.e. it is an interrogation step. It stops short of saying how unknown calculatorIds behave or whether partial 'supplied' answers change the questions returned.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity is partly achieved by omitting parameter detail rather than by tight editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and annotations cover the safety profile. What is missing is the two-step workflow (prepare then run_calculation) and the meaning of the 'supplied' object, both of which an agent needs to invoke this correctly rather than guessing.

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% and the description mentions no parameter at all. The enum on calculatorId is self-explanatory from the schema, but 'supplied' is an opaque nested free-form object whose purpose (pre-filling known answers, filtering questions?) is documented nowhere. With coverage far below 50%, the description was required to compensate and does not.

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 ('returns') and a specific resource ('the exact questions and typed inputs required before a deterministic calculation can run'), which clearly frames this as a pre-flight/discovery step. It implicitly distinguishes itself from run_calculation by scoping itself to what is needed *before* the computation, but never names that sibling or any other alternative explicitly.

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

Usage Guidelines3/5

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

The phrase 'before a deterministic calculation can run' implies the ordering (prepare, then run), which is useful contextual usage guidance. However, there is no explicit when-to-use statement, no mention of discover_calculators, and no guidance on whether this is mandatory for every calculation or optional when all inputs are already known.

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