Skip to main content
Glama

shipping_rate_estimator

Read-onlyIdempotent

Calculates ground, priority, and express shipping rates ($0.001 USDC)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originZipYesOrigin 5-digit ZIP code
weightLbsYesParcel weight in pounds
destinationZipYesDestination 5-digit ZIP code

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successYesEstimation status
ratesUSDYesUSPS rate estimates

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / destinationZip / description
      Added value: +"Destination 5-digit ZIP code"
    • addedInput schema / properties / originZip / description
      Added value: +"Origin 5-digit ZIP code"
    • addedInput schema / properties / weightLbs / description
      Added value: +"Parcel weight in pounds"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "ratesUSD": {
      +      "description": "USPS rate estimates",
      +      "type": "object"
      +    },
      +    "success": {
      +      "description": "Estimation status",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "ratesUSD"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior. Description adds the $0.001 USDC cost detail, which is useful context beyond annotations, but does not explain rate determination or output structure.

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?

Single, front-loaded sentence with zero waste. Price detail in parentheses is relevant and concise.

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?

Output schema exists, so return values need not be explained. Description covers what the tool does, pricing, and tiers; only usage context and rate methodology are absent, which is minor given the schema and annotations.

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%, so parameters are fully documented. Description adds no parameter details, making the baseline 3 correct.

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+resource (calculates shipping rates) and names the three tiers (ground, priority, express). It does not differentiate from siblings, but no sibling overlaps, so 4 is appropriate.

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?

Implies use for shipping rate estimation but gives no when-to-use guidance, no prerequisites, and no alternatives. Adequate but minimal.

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