Skip to main content
Glama

Run a WordPress task

run_wordpress_task
Destructive

Carry out a plan from create_wordpress_task on the WordPress site (or its test copy, if the plan was made for it). Tell the user the planned steps and ask before calling this. It stops at the first failing step; what ran before stays done — tell the user what was done and what was not. Can take longer than a minute.

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": {
      "wordpress_site_id": "<wordpress_site_id>",
      "task_id": "<task_id>"
    },
    "name": "run_wordpress_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesThe task's id from the tool that created it.
wordpress_site_idYesThe website's id — from list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description adds the crucial partial-failure semantics: it stops at the first failing step and completed steps remain applied. It also warns the call may exceed a minute, which the annotations do not convey.

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?

Four short sentences, each carrying distinct operational information, with the user-confirmation requirement and the partial-completion caveat front-loaded where they matter most. No redundant restatement of the title.

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

Completeness5/5

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

For a destructive, long-running mutation with no output schema, the description covers the essential unknowns: source of input, confirmation gate, failure behavior, and latency. An agent has everything needed to invoke it responsibly.

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%, so both task_id and wordpress_site_id are already documented in the schema. The description only lightly adds that the site may be a test copy of the plan's target; otherwise it defers to the schema, making the baseline 3 appropriate.

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+resource: 'Carry out a plan from create_wordpress_task on the WordPress site.' It names the source tool that produces the input and clarifies the target may be a test copy, which distinguishes it cleanly from create_wordpress_task and discard_wordpress_task.

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 requires telling the user the planned steps and asking before calling, and identifies create_wordpress_task as the prerequisite producer of the plan. The precondition is stated as a hard gate rather than implied, leaving little for the agent to infer.

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