Skip to main content
Glama

run_action

Run an automation (action rule) for a record — send an email, trigger a webhook and so on. action_id is the ID of the action button field

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": {
      "action_id": "<action_id>",
      "record_id": "<record_id>"
    },
    "name": "run_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
action_idYesID of the field of type 'action' (the automation button)
record_idYesID of the record the action runs for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / action_id / description
      Previous value: -"ID поля типу 'action' (кнопка автоматизації)"New value: +"ID of the field of type 'action' (the automation button)"
    • changedInput schema / properties / record_id / description
      Previous value: -"ID запису для якого запускається дія"New value: +"ID of the record the action runs for"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is largely carried by structured data. The description usefully adds the concrete side effects (email sent, webhook fired), which is real value beyond annotations — but it never warns that re-running duplicates those effects, nor what the tool returns or how failures surface. There is mild tension with openWorldHint=false given webhooks reach external systems, though this is not a direct contradiction.

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?

Two short sentences with zero waste: the action is front-loaded and the side-effect examples follow immediately. Nothing is repeated and no filler is present.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no output schema, the description covers what the tool does but not what the agent gets back or how to obtain a usable action_id. Annotations cover the safety profile, so the remaining gap is the return/outcome contract, which leaves the definition adequate but incomplete for an execution tool with side effects.

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 100% and both required parameters are documented in the schema. The description's only added note ('action_id is the ID of the action button field') largely restates the schema wording, adding no new syntax, format or discovery guidance. Baseline 3 applies since the schema does the heavy lifting.

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 ('Run an automation (action rule) for a record') and immediately clarifies the effect with concrete examples (send an email, trigger a webhook). This clearly separates it from the sibling management tools create_action_rule, update_action_rule and list_action_rules, which configure rather than execute.

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

Usage Guidelines3/5

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

The domain of use is implied — execute an already-configured action rule against one record — but no explicit when/when-not or alternatives are given. Nothing tells the agent it must first resolve a valid action field (e.g. via list_action_rules or get_field_types), nor that create_action_rule is the wrong tool if the rule doesn't exist yet.

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.

Resources