Skip to main content
Glama

Weeple Logistics Tools

Get calculator details

get_calculator
Read-only

Returns a logistics calculator's inputs (with units, options and defaults), its formula and a JSON schema of the inputs run_calculator accepts.

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": {
      "slug": "<slug>"
    },
    "name": "get_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesCalculator slug from search_calculators, e.g. "cft-calculator".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's added value is enumerating what is returned (inputs with units, options, defaults; formula; input schema), which is useful given there is no output schema, but it says nothing about behavior on an unknown slug, caching, or response shape/pagination.

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?

One sentence, front-loaded with the verb and the payload contents, with no filler or repetition of the title. It is dense but each clause (inputs with units/options/defaults, formula, input JSON schema) carries distinct information.

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 single-parameter read-only lookup with no output schema, the description adequately covers what comes back, which is the main thing an agent needs. Missing pieces are minor: no note on invalid-slug behavior and no explicit coupling to search_calculators for obtaining the slug.

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% and the single slug parameter is already documented in the schema with an example ("cft-calculator") and its source (search_calculators). The description adds no further meaning about slug format, case sensitivity, or identifier conventions, so the baseline 3 applies.

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?

States a specific verb (returns) and a concrete resource set: a calculator's inputs with units/options/defaults, its formula, and a JSON schema of run_calculator's inputs. This implicitly distinguishes it from the execution sibling run_calculator, though it never names the introspection-vs-execution split outright.

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?

Usage is only implied: because the response includes the JSON schema of inputs run_calculator accepts, an agent can infer this should be called before run_calculator. There is no explicit when-to-use statement, no prerequisite (e.g., slug must come from search_calculators), and no stated alternative or exclusion in the description itself.

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