Skip to main content
Glama

Add a product card to a draft

add_product_embed

Places a card of a product (logo, name, tagline, its verified MRR badge when it has one, and a link to its Shipfolio page) in one of the signed-in person's draft articles, after the heading given (or at the end). Any product with a public Shipfolio page works, not only the person's own. Returns what the card shows. The card is read live from public pages for every reader, so it stays current; if the product later stops being public, readers see a placeholder instead. A draft shows up to 12 cards. The article is saved as a draft only: nothing is published. The author reviews it, adds a cover image or data embeds and publishes it in the Shipfolio editor at editUrl. Needs the write scope. Before calling, show the user exactly what will change and wait for them to confirm.

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": {
      "articleId": "<articleId>",
      "product": "<product>"
    },
    "name": "add_product_embed"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesThe product's slug, e.g. "trackwise" (search_products finds it)
articleIdYesThe draft article's id
afterHeadingNoPlace it after the heading with this text; at the end when left out or not found

Output Schema

NameRequiredDescriptionDefault
urlYes
nameYes
editUrlYes
revenueYes
taglineYes
shortcodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses that cards are read live from public pages, that non-public products render as a placeholder for readers, that a draft caps at 12 cards, that nothing is published, and that the write scope is required. These are exactly the consequences (mutation scope, capacity limit, degradation behavior) an agent needs before confirming with a user.

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

Conciseness4/5

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

Sentences are information-dense and front-loaded with the placement action, then limits, then save/publish behavior, then the confirmation instruction. A few clauses (badge and link enumeration, editor workflow) could be tightened, but nothing is filler.

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?

The output schema covers return values ('Returns what the card shows'), so the description's job is scope, limits, side effects, and authorization — all of which it covers. For a mutation tool with three parameters, an agent has everything needed to call it safely.

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?

Schema description coverage is 100%, so the baseline is 3. The description still adds meaning: the product argument only works if the product has a public Shipfolio page (a real constraint not expressed in the schema), and afterHeading falls back to the end when absent or unmatched, which reinforces the placement semantics.

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 names a specific verb and resource — placing a product card (logo, name, tagline, MRR badge, link) into one of the signed-in user's draft articles — and scopes it clearly against the other embed tools by saying the product need not be the caller's own. An agent can distinguish this from add_article_embed / add_stack_embed / add_tool_embed without opening any schema.

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 gives explicit preconditions ('Before calling, show the user exactly what will change and wait for them to confirm'), the write scope requirement, and the downstream workflow (review, add cover image, publish in the editor at editUrl). It does not explicitly name a sibling alternative for non-product embeds, but the when-to-use context is otherwise unambiguous.

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