Skip to main content
Glama

Update offer

update_offer
DestructiveIdempotent

Edit one of the user’s offers: title, description, type, links, capacity, event date, or whether it is active. Send only what changes. 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>",
      "changes": "<changes>"
    },
    "name": "update_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes
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

A3.9/5.0
Behavior3/5

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

Annotations already declare destructive=true, idempotent=true, and readOnly=false. The description adds that changes apply immediately and that only deltas should be sent, which tells the agent this is an in-place partial mutation. It does not explain expectedRevision concurrency checks, undo/rollback behavior, or ownership/auth requirements, leaving meaningful gaps.

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 sentences are front-loaded with the action and editable fields, and 'Send only what changes' plus 'Applies immediately' each add operational value. There is no redundant restatement of the title or schema.

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

Completeness3/5

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

For a nested update mutation with an output schema, the description covers the main editable attributes and immediate/partial-update behavior. It is incomplete on optimistic concurrency via expectedRevision and on the full set of mutable fields such as duration, which matters for safe invocation.

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 description maps user-facing fields such as title, description, type, links, capacity, event date, and active status onto the nested changes object and clarifies partial-update semantics. However, it omits duration and, more importantly, expectedRevision, and with only 50% schema description coverage it does not fully compensate.

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 ('Edit') and resource ('one of the user’s offers'), and enumerates the fields that can be changed. It is clearly distinguishable from archive_offer even though it does not name 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It establishes the editing context and tells the caller to send only changed fields, implying partial updates of an existing offer. It does not explicitly name when to choose update_offer over archive_offer or other alternatives, nor list exclusions, but the context is clear.

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