Skip to main content
Glama

Get one article with its Markdown body

getArticle
Read-onlyIdempotent

Returns a single published article including contentMarkdown, the same source rendered on the public page. Slugs come from listArticles.

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": {
      "slug": "<slug>"
    },
    "name": "getArticle"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesLowercase, hyphen-separated article identifier.

Output Schema

NameRequiredDescriptionDefault
urlYes
slugYes
titleYes
authorYes
categoryYes
readTimeYes
updatedAtYes
descriptionYes
markdownUrlYes
publishedAtYes
contentMarkdownYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds genuinely new behavior: only *published* articles are retrievable and contentMarkdown matches the public page rendering, which tells the agent the payload is publication-fidelity rather than draft content.

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, both load-bearing: the first defines the output, the second defines the input's origin. The content guarantee is front-loaded and nothing is repeated from the schema or annotations.

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 one parameter, full schema coverage, an output schema, and complete safety annotations, the definition covers everything required to invoke it. The only gap is failure behavior for an unknown or unpublished slug, which the word "published" only hints at.

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

Parameters4/5

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

The single slug parameter is already fully documented in the schema (pattern, maxLength, format note), so the schema carries the mechanical burden. The description adds provenance semantics — where slug values originate — which the schema cannot express.

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 ("Returns a single published article") and immediately scopes it by naming contentMarkdown as the payload. It also names the sibling listArticles, so an agent can distinguish the single-fetch tool from the listing tool 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?

"Slugs come from listArticles" gives a concrete prerequisite and routes the agent through the correct discovery flow first. It stops short of stating what to do when a slug is unknown or the article is unpublished, so there is no explicit when-not 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.

Resources