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 declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: partial-failure semantics ('each article succeeds or fails on its own; the result lists both'), which is exactly the kind of detail annotations cannot express.

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 short sentences with zero filler: the batch limit and the sibling equivalence come first, the failure model second. Nothing is padded and nothing obvious is restated from the schema 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 the return shape ('lists both') need not be spelled out. However, for a destructive bulk mutation the description leaves the key semantic open: whether the replacement is wholesale (html omitted clears the body) or a partial patch, which materially changes how an agent must build the call.

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 single parameter is an array of nested objects (article_id, title, slug, html, meta_description), only one of which carries a field description. The description says nothing about which fields are required or whether omitted fields are left unchanged versus cleared, and 'same rules as replace_article' pushes the burden onto another tool's definition.

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 ... articles'), bounds the scope ('up to 50 in one call'), and distinguishes itself from the single-item sibling by naming replace_article as the source of the rules. An agent can tell the batch variant from the singular one 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 batch context is clear enough that an agent knows to pick this over replace_article when handling multiple articles. It does not explicitly say when not to use it (e.g. a single article, or mixed partial updates), so it stops short of full routing guidance.

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.