Skip to main content
Glama

Create a delivery claim

create_claim

Create a delivery claim for Yango Delivery by specifying route points and items. The claim is first estimated and then confirmed with accept_claim or auto_accept=true.

Instructions

Creates a delivery claim. IMPORTANT: the claim is NOT dispatched immediately — it goes through estimation (status: new → estimating → ready_for_approval) and must then be confirmed with accept_claim, or pass auto_accept=true. Returns id (claim_id), status, version, route_points, pricing, created_ts. Verify success via get_claim: estimation errors can arrive as an error_messages array inside a 200 response. request_id makes the call idempotent: a retry with the same request_id returns the same claim, not a duplicate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dueNoDesired courier arrival time (ISO-8601), e.g. 2026-08-10T12:00:00+05:00.
itemsYesItems to deliver.
commentNoComment for the courier (up to 7000 characters).
skip_actNotrue — do not generate a handover act.
request_idNoIdempotency token (1–128 characters, a query parameter). A UUID is generated automatically when omitted.
auto_acceptNotrue — confirm the claim automatically after successful estimation (no accept_claim needed).
route_pointsYesRoute points (at least 2): a source and a destination at minimum.
same_day_dataNoSame-day delivery settings: {delivery_interval: {from, to}} (a non-Russia feature).
optional_returnNotrue — the courier does not return items to the sender when hand-over fails.
emergency_contactNoContact to reach if there is a problem with the delivery.
shipping_documentNoAccompanying shipping document reference.
skip_door_to_doorNotrue — no door-to-door: hand over at the entrance.
skip_client_notifyNotrue — do not send SMS/push notifications to the recipient.
callback_propertiesNoWebhook for claim status changes.
client_requirementsNoDelivery requirements. Optional per the docs, but always passing taxi_class is safest.
skip_emergency_notifyNotrue — do not notify the emergency contact.
Behavior5/5

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

The description discloses significant behavioral traits: non-immediate dispatch, status transitions, potential error_messages in a 200 response, and request_id-based idempotency. These go well beyond the sparse annotations (readOnlyHint=false, etc.), giving the agent critical expectations about side effects and error handling.

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?

The description is dense and front-loaded, but at ~4 sentences, it is longer than the 'two sentences' ideal. Every sentence conveys necessary information—workflow, return values, verification, idempotency—so it is not verbose, but it could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 16 params, nested objects, no output schema, and complex state transitions, the description covers all essential operational aspects: what it creates, the estimation flow, required confirmation, return payload fields, verification method, error behavior, and idempotency. This is sufficient for an agent to invoke it correctly.

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?

The schema provides 100% description coverage for all 16 parameters, including nested objects. The description adds context for request_id (idempotency guarantee) and auto_accept (skips accept_claim), but these are already partially covered in the schema. Overall, the schema does the heavy lifting, so a baseline score of 3 is appropriate.

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 opens with 'Creates a delivery claim', a specific verb+resource. It clearly distinguishes from sibling tools (get_claim, accept_claim, cancel_claim) by indicating it is the creation step. The additional detail about estimation workflow reinforces its unique role.

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?

The description provides clear workflow context: claims go through estimation and need accept_claim or auto_accept, and verification via get_claim. However, it does not explicitly state when not to use this tool or mention alternatives like check_price for pricing-only queries, so it falls short of full guideline coverage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-yango-delivery'

If you have feedback or need assistance with the MCP directory API, please join our Discord server