Skip to main content
Glama

Add a tool card to a draft

add_tool_embed

Places a card of a tool from Shipfolio's catalog (logo, name, category, a short description, how many products use it, and a link to its page) in one of the signed-in person's draft articles, after the heading given (or at the end). 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>",
      "tool": "<tool>"
    },
    "name": "add_tool_embed"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYesThe tool's slug, e.g. "supabase" (search_tools 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
usedByYes
editUrlYes
summaryYes
categoryYes
shortcodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (non-read-only, non-destructive, non-idempotent, closed-world), it discloses the article stays a draft and nothing is published, that the card renders live from public pages, that a placeholder appears if the product stops being public, and a 12-card cap. It also names the required write scope. What is missing is what happens on repeated identical calls, which matters since idempotentHint=false.

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?

The placement action and insertion point are front-loaded, and the operational constraints (12-card limit, draft-only, write scope, confirm-first) follow in a logical order. The enumeration of card contents is a little padded but does support the 'returns what the card shows' claim. No sentence is truly wasted, though the definition is longer than strictly necessary.

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?

For a 3-parameter mutation with full schema coverage, annotations, and an output schema, the description covers the remaining gaps an agent needs: authorization scope, publication state, capacity limit, live-render behavior, and the human-confirmation requirement. Nothing essential to calling it correctly is absent.

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 description coverage is 100%, so tool slug, articleId, and afterHeading are already documented in the schema. The description adds a small amount — the fallback to end-of-article when the heading is absent — which matches the schema's stated default. That is marginal value over structured data, so the baseline 3 holds.

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 description gives a specific verb and resource: placing a card of a Shipfolio catalog tool into one of the user's draft articles, with an explicit insertion point. It lists the card's contents (logo, name, category, description, product count, link), which makes the unit of work unambiguous. It does not name the sibling embed tools (add_article_embed, add_product_embed), so differentiation is implied by 'tool from Shipfolio's catalog' rather than stated.

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 clear context — used inside a draft article, positioned after a named heading or at the end — and adds a mandatory pre-call workflow: show the user exactly what will change and wait for confirmation. It also points to search_tools via the schema for finding the slug. It stops short of explicit when-not guidance or a comparison to the other embed tools.

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