Skip to main content
Glama

Restore competitor

restore_competitor

Undo the last remove_competitor (or a swap) on a project: the competitor goes back where it was, exactly as stored. Refused with nothing_to_restore when a later removal replaced it, and too_many at the cap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idNoProject id from list_apps. Omit to use your most recently added project.
confirmNoSet true after the user confirmed an action the guard flagged as hard to undo.
replacingNoUndoing a swap: the id of the competitor the swap put in, which leaves in the same write.
competitorYesThe exact value remove_competitor was given, or a swap's swap_out_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already disclose readOnlyHint=false, idempotentHint=false, destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral detail: the restore is exact ('back where it was, exactly as stored') and the specific refusal codes nothing_to_restore and too_many. It does not mention the confirm-guard flow that the schema hints at, leaving a small gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with no filler, and the core action is front-loaded before the failure modes. It is dense but earns nearly every clause.

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?

With no output schema, the description correctly carries the success semantics (exact restoration) and the refusal codes an agent must handle. It is complete for invocation, lacking only the confirm-guard precondition that the schema field implies.

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 all four parameters (including the swapping/replacing semantics and confirm guard) are already documented in the schema. The description only reinforces the relationship to remove_competitor's input rather than adding syntax or format detail, so the baseline 3 applies.

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 (undo/restore) on a specific resource (competitor) and names exactly what it reverses: the last remove_competitor or a swap. This cleanly separates it from remove_competitor, add_competitor, and dismiss_competitor_suggestion in the sibling list.

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?

Specifies the trigger condition (undoing the *last* removal or a swap) and the failure conditions (nothing_to_restore when superseded by a later removal, too_many at the cap). It does not explicitly name an alternative tool or say when not to use it, 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.

Resources