Skip to main content
Glama

Remove a data embed from a draft

remove_article_embed
DestructiveIdempotent

Deletes a data embed from one of the signed-in person's draft articles and takes its line out of the body. 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>",
      "embedId": "<embedId>"
    },
    "name": "remove_article_embed"
  }
}

Input Schema

NameRequiredDescriptionDefault
embedIdYesThe embed's id, from add_article_embed
articleIdYesThe draft article's id

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
titleYes
statusYes
editUrlYes
productYes
subtitleYes
nicheTagsYes
wordCountYes
publishedAtYes
searchHintsYes
publishesLeftYes
readingMinutesYes
allowanceResetsAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / searchHints
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "subtitle",
      -  "status",
      -  "product",
      -  "wordCount",
      -  "readingMinutes",
      -  "nicheTags",
      -  "publishedAt",
      -  "url",
      -  "editUrl",
      -  "publishesLeft",
      -  "allowanceResetsAt"
      -]New value: +[
      +  "id",
      +  "title",
      +  "subtitle",
      +  "status",
      +  "product",
      +  "wordCount",
      +  "readingMinutes",
      +  "nicheTags",
      +  "publishedAt",
      +  "url",
      +  "editUrl",
      +  "publishesLeft",
      +  "allowanceResetsAt",
      +  "searchHints"
      +]
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so most of the safety profile is structured data. The description usefully adds the confirmation workflow and the body-line removal effect, but says nothing about reversibility or whether the underlying embed data survives detachment.

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?

Two sentences, both load-bearing: the first defines the operation and its effect, the second carries the hard preconditions. No filler and the action is front-loaded.

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?

With an output schema and full parameter descriptions present, the description only needs to cover behavior and preconditions, which it does. It is slightly thin on what happens to the embed after removal and on permission-failure behavior, but nothing essential for calling it is missing.

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% with both parameters described, including the note that embedId comes from add_article_embed. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 (deletes) and resource (a data embed), scopes it to the signed-in person's draft articles, and adds the concrete side effect of removing its line from the body. This clearly distinguishes it from add_article_embed and the other add_* siblings.

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?

Gives an explicit precondition (write scope) and a required interaction pattern (show the user the exact change, wait for confirmation). It does not name the inverse tool or state when-not to use it, but the confirmation gate makes the intended context 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