Skip to main content
Glama

get_article

Read-only

Reads an article's full HTML content and returns a baseContentHash, enabling safe updates that report concurrent editor conflicts instead of overwriting changes.

Instructions

Read an article's full content (HTML). Also returns a baseContentHash — pass it back to update_article so a concurrent edit from the editor is reported as a conflict instead of being overwritten.

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>"
    },
    "name": "get_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
articleIdYesArticle ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavior: the payload includes raw HTML plus a baseContentHash, and that hash drives optimistic-concurrency conflict reporting rather than silent overwrite.

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 with no filler: the first establishes the return payload, the second explains the concurrency contract. Front-loaded and every clause earns its place.

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?

With no output schema, the description carries the burden of return values and does so by naming the HTML content and the baseContentHash. For a one-parameter read tool, nothing an agent needs to call it correctly 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?

There is a single required parameter at 100% schema description coverage, so the schema already documents articleId. The description adds no further meaning about its format or where to obtain it; baseline 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 concrete verb and resource (read an article's full content, HTML) and implicitly contrasts with the mutating sibling update_article by naming it. An agent can tell this is the read path without inspecting the 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 second sentence gives a clear usage rule: capture baseContentHash and pass it to update_article for conflict detection. It covers the primary workflow but does not explicitly state when not to call it (e.g. listing articles or reading a book/chapter instead).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.