Skip to main content
Glama
pretix-agent-mcp

pretix-agent-mcp

get_pending_action

Check the status, preview, and expiry of a high-risk action awaiting human approval before it can be executed.

Instructions

Check the state of a high-risk action you proposed earlier.

Returns its state ('pending', 'approved', 'executed', 'rejected', 'expired'), the preview a human sees, and when it expires. A human must approve it on the server before execute_pending_action will run it.

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": {
      "pending_action_id": "<pending_action_id>"
    },
    "name": "get_pending_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
pending_action_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the five possible states, that a preview intended for a human is returned, that an expiry time is returned, and that a server-side human approval gates execution. It does not explicitly say the call is a read-only, side-effect-free poll, nor what happens to state after expiry, which keeps it from a 5.

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 short sentences, front-loaded with the purpose, then the return payload, then the operational precondition. Every sentence contributes new information with no restatement of the tool name.

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?

Given no annotations, no output schema, and no parameter documentation, the description covers the essentials an agent needs: what is returned, that a human approval step is required before execution, and that the action can expire. The remaining gap is how to obtain the pending_action_id in the first place.

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 description coverage is 0% for the single required pending_action_id, so the description must compensate. It partially does by tying the identifier to 'a high-risk action you proposed earlier', implying provenance, but it never states the ID format or which tool issues it.

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 ('Check the state of a high-risk action') and explicitly enumerates the possible states returned. It is unambiguously distinguishable from the execute_pending_action tool it names, and from the get_*/list_ catalog siblings.

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?

The opening phrase 'an action you proposed earlier' scopes usage to already-created pending actions, and the final sentence names execute_pending_action plus the precondition (human approval on the server) for invoking it. It does not state an explicit when-not case, such as what to do after expiry or rejection, keeping it just short of a 5.

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