Skip to main content
Glama

get_action_detail

Read-only

Get the stored details of a single action by its id: its type and config (for a send_message action: channel, drafted subject and body, sender and recipient). The feed card's own fields (title, status, contact) come from list_action_feed. Takes the actionId from a feed row (not the actionFeedId).

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": {
      "actionId": "<actionId>"
    },
    "name": "get_action_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYesThe action id (24-character Mongo id) — NOT the actionFeedId. Feed items surface it as `actionId`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered. Beyond that, the description discloses the return shape (type and config, with concrete send_message subfields) and the critical id-source caveat (actionId, not actionFeedId), which is genuine value the annotations do not carry.

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?

Three compact clauses, front-loaded with purpose, then return content, then the sibling boundary and the id caveat. Every sentence carries information; nothing is restated verbatim from the title.

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?

For a one-parameter read tool with no output schema, the description covers purpose, id sourcing, what is returned, and which sibling supplies the complementary fields. Error or not-found behavior is left unstated, which is the only small 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 single actionId parameter is already documented in-schema as a 24-character Mongo id that is NOT the actionFeedId. The description repeats that distinction and adds only the provenance detail (taken from a feed row), so the baseline of 3 applies.

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?

States a specific verb and resource ("Get the stored details of a single action by its id") and immediately scopes what 'details' means: type and config. It explicitly separates itself from sibling list_action_feed by noting the feed card's title/status/contact come from that tool, so an agent can distinguish the two without opening either schema.

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?

Gives clear call context: take the actionId from a feed row, and use list_action_feed for the card-level fields. It does not spell out explicit when-not conditions (e.g., what to do if the id belongs to a deleted feed item), but the routing intent is unambiguous.

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.