Skip to main content
Glama

cancel_stale_offers

Cancel marketplace offers that have been active for more than N days with no completions. Admin-only action tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_age_daysNoCancel offers older than this many days (default: 14)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It states that the tool cancels offers and is admin-only, but it does not mention permanence, side effects, reversal, or any consequences of the action. For a destructive admin operation, this is a significant gap.

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?

The description is two sentences, front-loaded with the action, and every word contributes. It efficiently conveys the action, criteria, and access level without any fluff.

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 tool with one optional parameter, the description is fairly complete. It explains what it does and the filtering logic, and the schema covers the parameter. However, it does not indicate what the tool returns or any post-condition, which would be helpful but is not critical for this simple action.

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?

The schema covers the single parameter (max_age_days) with a description including a default value, so the baseline is 3. The tool description adds 'no completions' as an additional selection criterion, which is useful context beyond the schema, but it does not elaborate further on the parameter itself.

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?

The description uses a specific verb ('cancel') and resource ('marketplace offers'), and clearly specifies the criteria ('active for more than N days with no completions'). It distinguishes itself from sibling tools like list_marketplace_offers and create_personalized_offer by indicating a cleanup action on stale items.

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?

The description clearly states this is an admin-only action tool, which provides context on authorization. However, it does not explicitly mention when not to use it or point to alternatives, so it falls short of a 5.

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.