Skip to main content
Glama

get_courier_rates

Query real-time shipping costs and estimate delivery dates across Indonesian shipping couriers. [CRITICAL]: You MUST obtain valid origin and destination area IDs first using the 'get_map_areas' tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
weightYesTotal weight of the shipment parcel in grams. Minimum value is 1.
origin_area_idYesUnique administrative area ID representing the shipment origin.
destination_area_idYesUnique administrative area ID representing the shipment destination.

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It discloses that the tool queries real-time data and returns costs/estimates, and underscores the need for valid IDs. However, it does not describe error behavior, whether the operation is read-only, any rate limits, or what happens if invalid IDs are supplied, which are relevant behavioral traits.

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?

The description is extremely concise: two sentences with no filler. The first sentence front-loads the primary purpose, and the second delivers a critical prerequisite. Every word earns its place, and the structure makes the dependency clear immediately.

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?

Given the tool has 3 parameters, no enums, no output schema, and only moderate complexity, the description covers the essential context: the tool's function and a mandatory prerequisite for parameter preparation. It does not describe the response format in detail, but the mention of 'shipping costs and estimate delivery dates' gives a sufficient expectation of the output for an agent. There's minor room for improvement, such as noting typical failure modes or response shape.

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?

The input schema fully describes the three parameters with types and descriptions (100% coverage), so the baseline is 3. The description adds value beyond the schema by explicitly linking 'origin_area_id' and 'destination_area_id' to the 'get_map_areas' tool, clarifying that these are not arbitrary strings but must be obtained from that companion tool.

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?

The description clearly states a specific action ('Query real-time shipping costs and estimate delivery dates') on a well-defined resource ('across Indonesian shipping couriers'). It also distinguishes itself from the sibling tool 'get_map_areas' by referencing it as a prerequisite, making the tool's role unambiguous.

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?

Provides an explicit, critical usage instruction: the agent MUST obtain valid origin and destination area IDs using 'get_map_areas' before calling this tool. This is clear context and a direct reference to an alternative/companion tool, but it does not explicitly state when *not* to use this tool or mention other alternatives beyond the prerequisite.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool serves a clearly distinct purpose: get_courier_rates for shipping costs, get_map_areas for administrative IDs, and usage_statistic for API limits. There is no overlap or ambiguity between them.

Naming Consistency4/5

Two tools follow the get_verb_noun pattern (get_courier_rates, get_map_areas), but usage_statistic deviates as a noun phrase. The naming is still readable and predictable, with only a minor inconsistency.

Tool Count5/5

With only 3 tools, the set is well-scoped for a focused logistic rates API. Each tool is necessary, and the count falls comfortably within the typical 3-15 range, avoiding bloat.

Completeness5/5

The tool surface covers the full workflow: get_map_areas provides required area IDs, get_courier_rates delivers the core functionality, and usage_statistic handles API monitoring. There are no obvious gaps for the stated purpose.

Resources