Skip to main content
Glama

Discard a WordPress task

discard_wordpress_task
Idempotent

Put a plan from create_wordpress_task aside. Nothing changes on the site.

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": "discard_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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is known. The description adds useful scoping context with 'Nothing changes on the site', clarifying that site state is untouched even though task state changes. It stops short of saying whether the task record is deleted or retained and whether the discard can be undone.

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 no filler, and the core action is front-loaded before the clarifying non-effect on the site.

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 two-parameter tool with full schema coverage and annotations, the description covers what it operates on and that site state is unaffected. The only material gap is the fate of the task itself after discarding, which an agent might want to know for follow-up steps.

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%, so both parameters are already documented, including the cross-reference to list_sites for the site id. The description adds no additional meaning about parameter formats or constraints, which is acceptable given the schema's completeness.

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 action (put a plan aside) on a specific resource (a plan produced by create_wordpress_task), naming the sibling that creates it. The verb 'put aside' is softer than the tool name 'discard', leaving slight ambiguity about whether the task is deleted or merely shelved, but the intent is clear.

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?

Usage is implied by linking to create_wordpress_task, so an agent can infer this is the way to abandon a generated plan. However, it never explicitly contrasts with run_wordpress_task or apply_shop_task, nor states preconditions such as whether the task must be unapplied or unrun first.

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