Skip to main content
Glama

compare_courier_rates

Multi-carrier pricing and SLA comparison engine. Compares live rate quotes side-by-side across Steadfast, Pathao, RedX, and Paperfly based on weight, COD value, and priority (cheapest, fastest, balanced) to select the optimal logistics…

Instructions

Multi-carrier pricing and SLA comparison engine. Compares live rate quotes side-by-side across Steadfast, Pathao, RedX, and Paperfly based on weight, COD value, and priority (cheapest, fastest, balanced) to select the optimal logistics provider.

Input Schema

NameRequiredDescriptionDefault
priorityNoOptimization priority (default: balanced)
weight_kgNoParcel weight in KG (default: 0.5)
cod_amountNoCash On Delivery amount in BDT (default: 0)
recipient_addressYesDestination delivery address anywhere in Bangladesh

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavior burden. It discloses that quotes are 'live' (implying external carrier calls and possible latency) and that it selects an optimal provider, but never states whether this is a pure read/quote operation or has side effects, nor any rate limits or failure modes.

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 sentences, front-loaded with the core purpose and then the inputs/differentiators. Slight redundancy between 'Multi-carrier pricing and SLA comparison engine' and 'compares live rate quotes side-by-side across...', but no padding of consequence.

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?

With no annotations and no output schema, the description should at least sketch what comes back (e.g., a ranked list of quotes with price and SLA) and whether invoking it commits to anything. It omits the return shape entirely, leaving a meaningful gap for a comparison tool.

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 all four parameters (including the priority enum and defaults) are already documented in the schema. The description only restates weight, COD, and priority at a high level, adding no format, unit, or edge-case detail beyond the schema — baseline 3 applies.

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 ('compares live rate quotes side-by-side') and enumerates the exact carriers (Steadfast, Pathao, RedX, Paperfly), plus the optimization axes. This clearly distinguishes it from siblings like list_couriers (enumeration) and calculate_delivery_zone_and_fee (single-zone fee).

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?

Gives clear context: use it when choosing an optimal provider based on weight, COD value, and priority. It does not say when NOT to use it or explicitly point to alternatives such as calculate_delivery_zone_and_fee or list_couriers, 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.