Skip to main content
Glama

Discard a code update

discard_code_update
Destructive

Discard one proposed article update. Nothing in the knowledge base changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesThe proposal id from get_code_updates.
productIdYesProduct id from list_products.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description earns extra credit by scoping that destruction: 'Nothing in the knowledge base changes' tells the agent the blast radius is limited to the proposal, not published content. It still does not say whether the discarded proposal can be recovered or re-proposed.

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, zero filler, with the action front-loaded and the consequence second. 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 simple two-parameter, no-output-schema mutation, the description covers purpose and effect adequately. Missing only recoverability/reversibility detail, which an agent might want before executing a destructive discard.

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 already carry source hints ('proposal id from get_code_updates', 'Product id from list_products'). The description adds nothing about the parameters, so the baseline 3 applies.

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 and object ('Discard one proposed article update'), which cleanly separates it from approve_code_update, edit_code_update, and decide_code_update_batch among the siblings. The only wrinkle is a terminology drift: the tool name says 'code update' while the description says 'article update', which forces a small inference that these are the same entity.

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 the verb 'discard' but never made explicit. There is no statement of when to discard versus approving, editing, or batching (approve_code_update, edit_code_update, decide_code_update_batch), and no prerequisites such as needing a valid proposal id from a prior listing.

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