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.

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
contact_methodNo
specific_attributesNoReplaces the entire specific_attributes object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds real context beyond the annotations: omitted fields retain current values, the success payload is { status: "updated", offer_id }, and a NOT_FOUND error code is disclosed. It does not cover permission requirements or whether dropped/replaced nested objects are recoverable, which matters given destructiveHint=true.

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 verb, resource and partial-update semantics in the first two lines, then uses a scannable use-case block. Every line, including the UUID provenance note, carries information an agent needs.

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 15-parameter mutation tool with nested objects and no output schema, the description supplies return shape, error code and update semantics — the critical omissions are filled. Still missing is guidance on how nested objects like geo_scope or contact_method are merged versus replaced.

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

Parameters4/5

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

With only 40% schema description coverage across 15 parameters, the description compensates by demonstrating field names and calling conventions (status, price_min, expires_at, tags) and by stating the partial-update rule. It leaves url, title, currency, geo_scope, contact_method and description undocumented, so it does not fully close the gap.

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 with a precise modifier: "Partially update an existing offer by UUID." An agent can immediately separate this from create_offer (new), delete_offer (removal) and get_offer_details (read-only).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Provides four concrete invocation patterns (archive, price change, expiry refresh, tag addition) and names where the required UUID comes from: search_offers or create_offer. The archive example implicitly contrasts with the destructive hard-delete sibling, so an agent has a clear routing signal.

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