Skip to main content
Glama

Weeple Logistics Tools

Run a logistics calculator

run_calculator
Read-onlyIdempotent

Run one of Weeple's logistics calculators and get the results with units, plus notes and breakdown tables. Pass the calculator slug and an inputs object keyed by input id (see get_calculator); anything omitted uses the calculator's default. Example: {"slug":"cft-calculator","inputs":{"dimUnit":"in","length":24,"width":18,"height":18,"qty":10}}.

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

Input Schema

NameRequiredDescriptionDefault
slugYesCalculator slug, e.g. "volumetric-weight-calculator".
inputsNoInput values keyed by input id. Numbers as numbers, choices as their option value, units as unit codes (cm, in, kg, lb, m3, ft3, km, mi…).
currencyNoCurrency used to format money results.INR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description usefully adds the return shape (units, notes, breakdown tables) and the default-on-omission behavior, though it says nothing about error handling or what happens with an invalid slug or input id.

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 sentences, front-loaded with purpose, followed by the calling convention and a compact concrete example. Nothing is redundant and the example removes ambiguity about keying inputs by input id.

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

Completeness5/5

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

With no output schema, the description carries the burden of describing return values and does so (units, notes, breakdown tables). Combined with the input-default rule and the get_calculator pointer, an agent has enough to call this correctly.

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, but the description contributes real semantics: a worked example mapping slug and inputs keys, and the rule that omitted inputs default. Currency is left entirely to the schema, which documents it adequately.

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 ("Run one of Weeple's logistics calculators") and describes what comes back: results with units, notes, and breakdown tables. It also points to get_calculator for input ids, which cleanly separates it from the metadata-lookup sibling.

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?

Clear operating context: pass a slug plus an inputs object, and anything omitted falls back to the calculator's default. It does not state exclusions or explain when to prefer get_transport_quote over a calculator, so it stops short of full routing guidance.

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