Skip to main content
Glama

Why a person did or did not get the message

explain_delivery
Read-onlyIdempotent

Looks up one person or one comment and says whether the private message went out, why not if it did not, and what to do. query is a name or username, words from the comment, or a comment id; up to 5 newest matches come back. It covers comments, mentions and messages a campaign handled, including ones still waiting or hidden by the comment filter. Changes nothing and sends nothing. When found is 0, tell the user there is no record and give them the possible_causes; do not pick one.

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": {
      "page": "<page>",
      "query": "<query>"
    },
    "name": "explain_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesChannel id from list_pages (a Facebook Page or an Instagram account)
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, and the description reinforces this with 'Changes nothing and sends nothing.' Beyond that it discloses real behavior the annotations cannot: the result set is capped at the 5 newest matches, and coverage extends to messages still waiting or hidden by the comment filter. The only gap is that the shape of a successful result (beyond the 5-match cap) is not sketched.

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 opening sentence carries the core purpose and is front-loaded; the query-form explanation and result-cap follow in logical order, and the found=0 instruction closes it. It is slightly dense — the coverage sentence ('comments, mentions and messages… waiting or hidden') could be tightened — but no sentence is filler.

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 no output schema, the description carries the return-value burden and does so adequately: it names the verdict, the reason, the recommended action, the 5-match cap, and the `found`/`possible_causes` fields an agent will encounter. For a 2-parameter read-only diagnostic tool this is close to sufficient, though a fuller sketch of successful-result fields would make it complete.

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%: `page` is documented in the schema ('Channel id from list_pages'), while `query` has only length constraints. The description compensates by spelling out that `query` accepts a name or username, free words from the comment, or a comment id — meaningful semantic content absent from the schema. `page` is left entirely to the schema, which is acceptable since it is already described there.

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 states a specific verb and resource — 'looks up one person or one comment and says whether the private message went out' — and enumerates the three possible answers (went out, why not, what to do). This is clearly distinguishable from sibling read tools like get_activity_log or get_unanswered_questions, which do not diagnose per-recipient delivery.

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?

Usage context is clear: it is a diagnostic lookup over comments, mentions and messages a campaign handled, including pending and filter-hidden ones. It even prescribes fallback behavior when found is 0 (report no record, surface possible_causes, do not pick one). It stops short of naming an alternative sibling tool for adjacent questions, so it does not reach a 5.

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.