Skip to main content
Glama

Reject a shop task

reject_shop_task
Idempotent

Discard a proposal from create_shop_task. Nothing changes in the shop.

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": {
      "shop_id": "<shop_id>",
      "task_id": "<task_id>"
    },
    "name": "reject_shop_task"
  }
}

Input Schema

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

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; the description adds the useful behavioral fact that the surrounding shop state is unaffected by the rejection. It still omits whether the proposal can be recovered, what happens to the task record afterward, and any permission requirements.

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, the identification of the target artifact first and the state consequence second. No wasted wording and nothing to trim.

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 simple two-parameter, fully documented, annotated tool with no output schema, the description covers what is acted on and the resulting state. The main residual gaps are reversibility and the explicit relationship to apply_shop_task, which are minor at this complexity.

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 parameters carry their own descriptions pointing at list_sites and the creating tool, so the schema carries the load. The description adds no additional meaning about shop_id or task_id, making the baseline 3 appropriate.

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?

Uses a concrete verb ("Discard") on a specific object ("a proposal from create_shop_task"), which tells an agent exactly which artifact is being removed and ties it to the creating sibling. It does not explicitly name apply_shop_task as the sibling it is not, so it stops short of a 5.

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 reference to "a proposal from create_shop_task" implies the usage context: reject a pending proposal. However, there is no explicit when-to-use versus when-not, and the obvious alternative (apply_shop_task, which commits the proposal) is only hinted at by "Nothing changes in the shop."

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