Skip to main content
Glama

Easypost Rates

easypost_rates
Read-onlyIdempotent

Get shipping rate quotes from <from_zip> to <to_zip> for a parcel, returns multi-carrier rates (USPS, UPS, FedEx, etc.) with price, service level, and estimated delivery days. Example: easypost_rates({ from_zip: "94105", to_zip: "10001", weight_oz: 16, _apiKey: "your-key" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to_zip": "10001",
      "_apiKey": "your-easypost-api-key",
      "from_zip": "94105",
      "weight_oz": 16
    },
    "name": "easypost_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_zipYesDestination postal/ZIP code, e.g. "10001"
_apiKeyYesEasyPost API key (get one free at easypost.com)
to_cityNoDestination city (optional), e.g. "New York"
from_zipYesOrigin postal/ZIP code, e.g. "94105"
to_stateNoDestination state/province code (optional), e.g. "NY"
width_inNoParcel width in inches (optional)
height_inNoParcel height in inches (optional)
length_inNoParcel length in inches (optional)
weight_ozYesParcel weight in ounces, e.g. 16 for 1 lb
to_countryNoDestination ISO country code (default "US")
from_countryNoOrigin ISO country code (default "US")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-easypost-api-key",
      +    "from_zip": "94105",
      +    "to_zip": "10001",
      +    "weight_oz": 16
      +  },
      +  {
      +    "_apiKey": "your-easypost-api-key",
      +    "from_zip": "90210",
      +    "height_in": 6,
      +    "length_in": 12,
      +    "to_city": "Chicago",
      +    "to_state": "IL",
      +    "to_zip": "60611",
      +    "weight_oz": 32,
      +    "width_in": 8
      +  }
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds genuine value beyond that by disclosing the shape of the response (price, service level, estimated delivery days across USPS/UPS/FedEx). It does not mention failure modes like invalid ZIPs or unsupported lanes, which keeps it at a 4.

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?

Two tight sentences with the purpose front-loaded and the concrete example placed last where it aids invocation without burying the main point. The example consumes roughly half the text, which is a small cost for a definition this short.

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?

An 11-parameter tool with no output schema needs the description to say what comes back, and it does. International lane support (from_country/to_country) and optional parcel dimensions are left entirely to the schema, but the essential calling contract is covered.

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 every parameter including the optional dimensions and country codes is already documented in the schema; baseline 3 applies. The description adds only that quotes are for a parcel and echoes weight_oz and the ZIP fields in its example, no semantics beyond the schema.

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 ('Get shipping rate quotes') plus the scope ('from <from_zip> to <to_zip> for a parcel'). It then names what comes back (multi-carrier rates with price, service level, delivery days), which clearly separates it from easypost_track, the only nearby sibling.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no routing to alternatives such as easypost_track for tracking lookups. The single worked example shows invocation syntax, not the conditions that should select this tool, so usage is left implied.

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.