Skip to main content
Glama

Get a delivery's status

get_delivery
Read-only

Reads a single agent delivery once without waiting, returning its current status (queued, running, completed, failed, and similar) and the agent's answer after completion.

Instructions

Read one message delivery once (no waiting): status queued/starting/running/completed/failed/interrupted/cancelled, and the agent's answer once it ended. Does not count toward the hourly limit.

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": {
      "agent": "<agent>",
      "deliveryId": "<deliveryId>"
    },
    "name": "get_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesAgent ID or agent name (case-insensitive), as list_agents shows it.
deliveryIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already say readOnlyHint=true and openWorldHint=false; the description adds that it does not consume the hourly rate limit and that it returns only an ended delivery's answer, which is genuine behavioral context. It doesn't state what happens for queued/running deliveries (empty answer?) or the exact error when deliveryId is unknown.

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?

Two compact sentences front-loaded with the 'no waiting' constraint and the status enum, with no redundant restatement of name/title.

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?

For a read-only status tool with no output schema, the description covers the possible statuses, the answer payload, the non-blocking behavior, and the rate limit exemption — everything an agent needs to call and interpret it.

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 coverage is 50%: agent is documented in schema, deliveryId is not. The description does slightly reinforce that exactly one delivery is read, but doesn't explain deliveryId format (where it comes from — presumably send_message), leaving the undocumented parameter partially unaccounted for.

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?

Specific verb and resource: reads one message delivery once. It names the sibling wait_for_delivery implicitly via 'no waiting' and distinguishes itself by listing the statuses and the answer return.

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?

Explicitly says 'once (no waiting)', which tells the agent not to use it when it needs to block/poll — that routes toward wait_for_delivery. It does not name the alternative explicitly or state when-not in terms of a sibling, so not a 5.

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