Skip to main content
Glama

Archive offer

archive_offer
DestructiveIdempotent

Archive an offer: it leaves the offers list and its history is kept. Every Encore promoting it turns off: routes using it switch off, its topic rules and fallback are removed, and its pending Encore replies are cancelled. Applies immediately.

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": {
      "offerId": "<offerId>"
    },
    "name": "archive_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerIdYesOffer id from get_offers.

Output Schema

NameRequiredDescriptionDefault
idNoId of the created or changed record, when there is one.
urlYesWhere the user can see the result in Distinctful.
doneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by describing exactly what is destroyed or disabled: Encores stop promoting, routes switch off, topic rules and fallback are removed, pending replies are cancelled, and the change is immediate. This is exactly the contextual detail an agent needs for a destructive operation.

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?

Front-loads the core action and outcome, then enumerates consequences in a single dense but readable sentence. No unnecessary words; 'Applies immediately' adds useful timing context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with full schema coverage and an output schema, the description covers everything an agent needs: what archiving means, the cascading effects, and the immediacy of the change.

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 coverage is 100% and the single offerId parameter already points to 'Offer id from get_offers.' The description does not add further semantics for the parameter, which is acceptable given the complete schema.

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 and resource ('Archive an offer') and immediately clarifies the resulting state: it leaves the offers list while retaining history. This clearly distinguishes archiving from deletion or updating, even without naming sibling tools.

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 description implies usage through its consequences, but gives no explicit when-to-use guidance or comparison to alternatives such as update_offer or deletion tools. An agent can infer it should archive rather than delete when history must be kept, but this is not stated as guidance.

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