Skip to main content
Glama

get_article

Read-onlyIdempotent

Retrieve a Knowledge Base article with full content, including comments, and paginate long articles by character offset for continued reading.

Instructions

Get a Knowledge Base article with full content.

Long articles come in parts: the reply says which characters it holds and the offset that continues it. Comments follow the last part.

Args: article_id: Article ID or database ID include_comments: Include comments (default: True) instance: YouTrack instance (optional) offset: Character position in the content to start from (default 0) max_chars: Content characters per part (default 30000; 0 = all)

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

Input Schema

NameRequiredDescriptionDefault
offsetNo
instanceNo
max_charsNo
article_idYes
include_commentsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.40.2
    • addedInput schema / properties / max_chars
      Added value: +{
      +  "default": 30000,
      +  "title": "Max Chars",
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "title": "Offset",
      +  "type": "integer"
      +}
  2. First observedv1.21.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds real behavioral detail beyond that: content is returned in parts, the reply reports which character range it holds plus the continuing offset, comments trail the final part, and max_chars=0 means all. It stops short of describing error behavior for a missing article or how `instance` affects routing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key behavior is front-loaded in the first sentence, then pagination semantics, then a compact Args block that is genuinely needed given the empty schema descriptions. The Args block is slightly verbose in its defaults, which duplicate the schema, but nothing is wasted.

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 present, return values need not be explained, and the description covers the non-obvious parts of the contract: pagination, comment placement, and defaults. Only edge cases such as what happens when article_id is invalid or when offset exceeds content length are left unstated.

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?

Schema coverage is 0%, so the description must carry parameter meaning and it largely does: it documents article_id, include_comments (default True), offset (character position, default 0) and max_chars (per-part size, default 30000, 0 = all). The only weak entry is `instance`, described merely as "YouTrack instance (optional)" with no format or example.

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?

"Get a Knowledge Base article with full content" names a specific verb and a specific resource that is clearly distinguishable from siblings such as get_issue or create_article. The following sentences add scope (parts, offsets, trailing comments), so an agent knows exactly what it receives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the read purpose and pagination notes, but the description never states when to use this versus alternatives, nor any prerequisites (permissions, whether the article must exist). It gives operational guidance on how to page through content but no routing guidance.

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

Deploy Server

Other Tools