Skip to main content
Glama

AI SDR Kit by Zevari

actions_get_receipt

Fetch one durable action receipt by its rcpt_* id: lifecycle status (queued/executing/succeeded/failed/deferred/rejected/cancelled/outcome_unknown), every linked identifier (confirmation, request, audit intent/outcome, LinkedIn object ids), the safety snapshot, and the hydrated lead_context. Linked sends add action_id, action_status (queued/started/sent/failed/cancelled/outcome_unknown), not_before, next_try_after for queued actions, and a customer-safe reason. Queued means next try after that time, not guaranteed delivery then. Existing receipt status values are unchanged. Receipts are returned in every LinkedIn write response as action.receipt_id. An outcome_unknown status means the LinkedIn response was lost — the action may have landed; do NOT retry it automatically. Planned campaign steps carry written_by (who composed the words: your_ai, zevari, or together) and sent_by: zevari. Zevari delivers every campaign message; delivery is not authorship.

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": {
      "receipt_id": "<receipt_id>"
    },
    "name": "actions_get_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
receipt_idYesThe rcpt_* receipt id from a write response's action.receipt_id or a recent_activity item.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the whole burden and does substantial work: it enumerates all lifecycle statuses, explains queued vs. delivered semantics ("next try after that time, not guaranteed delivery then"), and warns that outcome_unknown means the LinkedIn response was lost and the action may have landed. It omits failure behavior for an invalid/unknown receipt id and says nothing about retention or permissions.

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?

Front-loaded with purpose and semantics before the detail paragraphs, and the operational warnings are placed sensibly. However, "Existing receipt status values are unchanged" reads as a release note rather than agent guidance, and the closing authorship clarification is tangential to fetching a receipt.

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?

With one parameter and no output schema, the description does the necessary work of enumerating returned fields (linked sends add action_id, action_status, not_before, next_try_after, customer-safe reason) and interpreting the ambiguous statuses. A brief note on what happens for an unknown or expired id would close the remaining gap.

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 coverage is 100% and the schema description already tells the caller the id comes from action.receipt_id or a recent_activity item. The description repeats that same provenance rather than adding new constraints (no validation rules, no prefix-checking guidance beyond the rcpt_* shape).

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?

Opens with a specific verb and resource plus an id format: "Fetch one durable action receipt by its rcpt_* id." It then enumerates the payload surface (lifecycle status, linked ids, safety snapshot, lead_context), which clearly separates it from siblings like actions_list_for_lead or actions_get_confirmation_preview.

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?

Explains where to obtain the required id ("Receipts are returned in every LinkedIn write response as action.receipt_id" and recent_activity items) and gives a hard operating rule: an outcome_unknown receipt must not be retried automatically. It stops short of naming which sibling to use when the receipt is unknown or when list-level data is wanted.

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.