Skip to main content
Glama

Delivery: push tracking event [sandbox]

delivery_tracking

Append a single tracking event to a parcel's history on Avito. Report movement such as status transitions (e.g., received at terminal to in transit).

Instructions

[SANDBOX] Appends one parcel tracking event to Avito on behalf of the delivery service; does not modify existing history — a single status transition (e.g. RECEIVED_AT_TRANSIT_TERMINAL → IN_TRANSIT). Use this to report movement as it happens; one call records one event, and events accumulate into the parcel history (not idempotent — re-sending logs a duplicate). Returns an empty 200 on success; a 4xx means the order/status pair was rejected. Comply with Avito's retry policy on 5xx. For delivery-service PARTNERS only (not regular sellers). Sibling tools: delivery_set_order_properties sets cost/parameters, delivery_change_parcels reschedules a parcel — this one only appends a status event.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesEvent date and time in RFC 3339 format, UTC.
dryRunNov0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false).
commentNoComment on the status (optional).
optionsNoAdditional status options: parcel barcode, return numbers (optional).
orderIdYesOrder identifier.
locationYesEvent locality in the nominative case. Example: Kazan.
avitoStatusYesParcel status. Enum: CONFIRMED | IN_TRANSIT | ON_DELIVERY | DELIVERED | IN_TRANSIT_RETURN | ON_DELIVERY_RETURN | RETURNED | LOST | DESTROYED.
avitoEventTypeYesEvent code on the Avito side. Example: RECEIVED_AT_TRANSIT_TERMINAL.
idempotencyKeyNov0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error. Keys are stored as bounded SHA-256 fingerprints.
providerEventCodeYesEvent code as defined by the delivery service.
Behavior5/5

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

Goes beyond annotations by describing non-modification of history, single transition per call, duplicate behavior, return status (empty 200, 4xx meaning), and retry policy. No contradiction with annotations.

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?

Single paragraph efficiently conveys purpose, usage, behavior, constraints, audience, and sibling differentiation. No wasted words, well-structured.

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 10 parameters, nested objects, and no output schema, the description adequately covers return values, error handling, retry policy, and audience. Idempotency key and dry run are described in schema, and description provides enough behavioral context.

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?

Schema has 100% parameter description coverage. The tool description adds valuable context like a status transition example (RECEIVED_AT_TRANSIT_TERMINAL → IN_TRANSIT) and idempotency implications, though individual parameters are sufficiently documented in 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?

The description clearly states the tool appends one tracking event, does not modify history, and specifies it is only for appending status events, differentiating from siblings like delivery_set_order_properties and delivery_change_parcels.

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

Usage Guidelines5/5

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

Explicitly states when to use ('report movement as it happens'), what not to do (not idempotent, don't re-send same event), and differentiates from alternatives. Also mentions audience (delivery-service partners only) and retry policy.

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/elchin92/avito-mcp'

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