Skip to main content
Glama

Replace several articles

bulk_replace_articles
DestructiveIdempotent

Replace up to 50 articles in one call, with the same rules as replace_article. Each article succeeds or fails on its own; the result lists both.

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

Input Schema

NameRequiredDescriptionDefault
articlesYes

Output Schema

NameRequiredDescriptionDefault
failedYes
replacedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / replaced / items / properties / live_update
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / replaced / items / properties / next_step
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already carry the heavy lifting (destructiveHint=true, idempotentHint=true, openWorldHint=true), and the description adds genuinely non-redundant behavior: per-article independent success/failure and a result that reports both. It does not disclose permission requirements or what a failed entry leaves behind, but the partial-success contract is the most valuable trait here and it is stated.

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, front-loaded with the distinguishing batch scope, and every clause carries information: the cap, the delegation of rules, and the partial-failure semantics. No filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return shape needn't be explained, and annotations cover the safety profile. However, for a destructive bulk mutation the definition leaves the replace-vs-patch semantics and the handling of items beyond 50 undefined, pushing that burden onto the sibling's documentation.

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

Parameters2/5

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

Schema description coverage is 0% and the sole parameter 'articles' is an array of nested objects whose fields (title, slug, meta_description, article_id) are entirely undocumented. The description adds nothing beyond the cap of 50, which merely restates maxItems, and critically never clarifies whether a replace is a full overwrite (omitted fields cleared) or a patch — a distinction that matters for a destructive operation.

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 ('Replace up to 50 articles in one call') and immediately anchors it to its sibling: the same rules as replace_article, but batch-shaped. The partial-failure clause ('each article succeeds or fails on its own') further pins down what the operation does, so an agent can distinguish it from replace_article without opening either 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?

The 'up to 50 articles in one call' framing implicitly routes bulk work here and single work to replace_article, which is named explicitly. What's missing is an explicit when-not: nothing tells the agent what to do above 50 items (chunk into multiple calls?) or whether this is preferred over looping replace_article.

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.