Skip to main content
Glama

Update Offer

update_offer
DestructiveIdempotent

Partially update an existing offer by UUID.

Only the fields you provide are changed — omitted fields keep their current values. Returns { status: "updated", offer_id: "" } on success. Returns error with code "NOT_FOUND" if the offer doesn't exist.

COMMON USE CASES:

  • Archive an offer: { id: "...", status: "archived" }

  • Update price: { id: "...", price_min: 200 }

  • Refresh expiry: { id: "...", expires_at: "2027-01-01T00:00:00Z" }

  • Add tags: { id: "...", tags: ["new-tag"] }

Offer UUIDs come from search_offers or create_offer.

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": {
      "id": "<id>"
    },
    "name": "update_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUUID of the offer to update. Get from search_offers results.
urlNo
tagsNoReplaces the entire tags array
titleNo
statusNo"active" (visible) | "archived" (hidden) | "draft" (not published)
currencyNo
geo_scopeNo
price_maxNo
price_minNo
expires_atNoISO 8601 expiry date. Set to null string to clear.
offer_typeNo
category_idNoNew category ID. Get valid IDs from list_categories.
descriptionNo
manage_tokenNoOwnership proof returned by create_offer — lets you update from any IP/network.
contact_methodNo
specific_attributesNoReplaces the entire specific_attributes object

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / manage_token
      Added value: +{
      +  "description": "Ownership proof returned by create_offer — lets you update from any IP/network.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare mutation, idempotency, and destructive behavior, and the description adds useful partial-update semantics: omitted fields keep current values. It also documents success and NOT_FOUND return shapes. It does not mention authentication via manage_token or the destructive replacement behavior of fields like tags and specific_attributes, which would have made it stronger.

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 text is front-loaded with the core operation, follows with return and error behavior, then lists concise examples. Every section is short and directly useful, with no redundant wording.

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 16-parameter mutation tool with no output schema, the description does well on partial-update behavior and error handling. However, it omits authentication requirements, replacement semantics for object/array fields, and guidance on most of the parameters. The misleading 'Add tags' example further reduces completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 44% for 16 parameters, so the description needs to compensate but only gives examples for a few fields. Worse, the example says 'Add tags' while the schema says tags 'Replaces the entire tags array', which is misleading. Important parameters such as manage_token, category_id, geo_scope, contact_method, and specific_attributes receive little or no semantic treatment in the description.

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 states a specific verb, resource, and scope: partially updating an existing offer by UUID. It also names where UUIDs come from (search_offers or create_offer), which helps distinguish it from creation and discovery 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?

The COMMON USE CASES section gives concrete scenarios for archiving, price changes, expiry refreshes, and tag changes. It does not explicitly say when to prefer delete_offer over archiving or when to use create_offer instead, but the practical usage 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