Skip to main content
Glama

Change anything else

run_api_action
Destructive

Run an action that changes something (POST, PUT, PATCH or DELETE) found with find_api_actions: action = "METHOD /path", arguments = its path, query and body fields by name (plus optional brand_id). Some actions delete, publish or message customers. Payments, sign-in and admin are not reachable.

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": "<action>"
    },
    "name": "run_api_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYese.g. "POST /platforms/bio/{proposal_id}/approve"
argumentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, openWorldHint=true and readOnlyHint=false. The description adds real value by warning that some actions delete, publish or message customers and by naming the unreachable domains, but it says nothing about error behavior for an invalid action or about return format.

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?

Two dense sentences, front-loaded with the verb and the risk warning, no filler. Slightly packed but every clause carries information.

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 generic open-world mutating dispatcher with no output schema, the definition covers sourcing the action, its format, the argument convention, side-effect risk and scope exclusions. Only the response shape and failure modes are absent, which are minor relative to the annotations already present.

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% because `arguments` is an untyped open object. The description compensates by spelling out that `action` is 'METHOD /path' and `arguments` carries path, query and body fields by name plus an optional brand_id, which meaningfully exceeds the schema.

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

Purpose4/5

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

States a specific verb+resource: run an action that changes something, restricted to POST/PUT/PATCH/DELETE. It distinguishes itself from the discovery sibling find_api_actions explicitly, and 'changes something' contrasts with read_api_action, though it does not name that sibling.

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 a clear prerequisite (actions found with find_api_actions) and an explicit exclusion set (payments, sign-in, admin are not reachable). It stops short of stating when to prefer the many dedicated siblings like add_offer or delete_post over this generic dispatcher.

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