Skip to main content
Glama

CallRail MCP by InsightfulPipe

CallRail Execute Action

execute_action
Destructive

Execute CallRail action (Step 3 (FINAL) of workflow).

REQUIRED: Complete these steps first using query_contexts:

  1. request='accounts' - Get workspace_id, brand_id AND available_actions

  2. request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] - Get detailed body structure for specific action(s) using actions from available_actions

IMPORTANT: Always call step 2 to see the exact body structure before executing.

Rely on info from steps 1-2 to construct the action body. Follow the schema exactly.

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": {
      "body": "<body>"
    },
    "name": "execute_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is conveyed structurally. The description adds genuine operational context — that the body is dynamically assembled from prior discovery calls — but never states what gets mutated, whether the effect is reversible, or what failure/auth conditions exist, which is a meaningful gap for a destructive tool.

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 'Step 3 (FINAL)' and numbered prerequisites, with the critical 'Always call step 2' warning set apart. Slight redundancy in 'Rely on info from steps 1-2' restating the prior bullets keeps it from a 5.

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 annotations covering destructiveness and an output schema covering return values, the remaining burden is workflow context — and the description delivers the mandatory discovery chain that would otherwise cause failures. Missing only edge-case behaviour (what happens when an invalid body is submitted), which is minor here.

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 0% and the single 'body' parameter is a free-form object with additionalProperties=true, so the schema explains nothing. The description does not list any body keys, but it does provide a workaround: fetch the exact structure via query_contexts/actions_details and follow the schema exactly. That partially compensates for an otherwise untyped body, so 3 rather than lower.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb ('execute') and resource ('CallRail action') are stated, and the definition places itself as Step 3 (FINAL) of a workflow with query_contexts as the discovery tool. However, 'action' is never concretised — the agent cannot tell from the description what kinds of operations are executed or what effect results, beyond the vague notion of a generic action dispatcher.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly enumerates the required preceding steps with concrete request names ('accounts', 'actions_details'), states the arguments to pass, and emphatically instructs to always call step 2 before executing. It names the alternative tool (query_contexts) and the exact condition that selects it, leaving nothing to inference.

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.