Skip to main content
Glama

Add a product or service

offering_add
Destructive

Adds a product or a service the business sells that its site or shop does not list, as the owner tells it (Brand › Business › What you offer, as Add a product or service does there), or changes one added this way: the same name again changes that one. Give its name, its price in the owner's words, its page, what it is, and for a product its pictures (file ids from get_upload_link, or none yet). It joins what Marsell makes product pictures and posts from, Sell's offers, and what every plan, post and claim check may state, in the owner's words. One the site or the shop already lists is refused: a correction about it, such as its price, is owner_fact_set. If the site or the shop later lists it, theirs is the one Marsell uses, its price too, and a correction is owner_fact_set as for any product they list. Only what the owner said or a source shows, never a guess. Free: it reads, rates and makes nothing. offering_remove takes one out.

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

Input Schema

NameRequiredDescriptionDefault
kindNoproduct (the default) or service
nameYesits name, as the business writes it; the same name as one the owner added changes that one
pageNoits own page, where people buy or book it
whatNowhat it is and who it's for, in a line or two
priceNoas the owner writes it: "$25", "from 49 EUR a month"
projectNoThe project's id or exact name. Optional when the account has one project.
picture_file_idsNofor a product: its pictures already sent (get_upload_link's file ids)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

The annotations declare destructiveHint=true, and the description earns that by disclosing the overwrite semantics (same name replaces a prior offering) and the propagation effects into Sell's offers and plan/post/claim checks. It adds that the call is free ("it reads, rates and makes nothing"). Missing are permission requirements and whether an overwrite is reversible, hence 4 rather than 5.

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

Conciseness3/5

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

The main action is front-loaded, but the paragraph is a dense run-on with nested parentheticals and repeated phrasing ("in the owner's words" twice). Several clauses, such as the Brand › Business breadcrumb, add noise without helping invocation.

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?

No output schema exists, and the description compensates by describing downstream effects (what the offering feeds into) and refusal outcomes. For a mutation tool with this many behavioral caveats it is largely complete, though it never says what a successful call returns or how a refusal is surfaced.

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%, so the schema already documents all seven parameters including the kind enum. The description adds modest value: it says the price is "in the owner's words" and cross-references get_upload_link for picture file ids, or none yet. That is useful but marginal over the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first clause names a concrete verb and resource ("Adds a product or a service the business sells") and immediately states the scope limit (things "its site or shop does not list"). It also pins the upsert behavior: "the same name again changes that one." It falls short of 5 only because the parenthetical breadcrumb and the long run-on sentence bury the core statement.

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?

It explicitly routes corrections about site-listed items to owner_fact_set, removal to offering_remove, and states a refusal rule ("One the site or the shop already lists is refused"). It also covers the edge case where the site later lists the item. When-to-use, when-not-to-use, and alternatives are all present.

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.