Skip to main content
Glama

calculate_delivery_all_tariffs

Calculate delivery cost and estimated time across all available CDEK tariffs by providing origin, destination, and package details.

Instructions

Рассчитать стоимость и сроки доставки по всем доступным тарифам

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": {
      "from_location": "<from_location>",
      "to_location": "<to_location>",
      "packages": "<packages>"
    },
    "name": "calculate_delivery_all_tariffs"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesYesСписок упаковок
to_locationYesАдрес получения
from_locationYesАдрес отправления

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies a read-only calculation. It says nothing about whether results are live quotes, whether all tariffs means potentially large responses, what happens if no tariff is serviceable, or any auth/rate constraints.

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?

A single short sentence with the action and both return dimensions front-loaded, no filler. It is efficient, though its brevity borders on under-specification rather than optimal density.

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?

The description does indicate the return content (cost and delivery times) despite there being no output schema, which is helpful. However, with three required nested location/package objects and no annotations, it lacks the operational context (tariff spread, failure cases, prerequisites) an agent would want before calling.

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% and every nested field (city, code, address, postal_code, country_code, package dimensions and weight) is documented in the schema itself. The description adds no extra meaning about how locations are matched or how package dimensions affect tariff selection, so the baseline 3 applies.

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?

The description gives a concrete verb ('Рассчитать') plus two specific outputs (стоимость and сроки доставки) and scopes them to 'all available tariffs'. The 'all tariffs' phrasing implicitly separates it from the sibling calculate_delivery, but that sibling is never named, so an agent must infer the distinction.

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, when-not-to-use, or named alternative. The only routing signal is the implicit 'all tariffs' scope, which hints at comparison shopping but never states that calculate_delivery should be used for a single tariff.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.