Skip to main content
Glama
itglue-mcp

itglue-mcp

by WYRE-AI

get_document

Retrieve a specific IT Glue document by ID, including its sections, organization, folder, and published dates. Optionally provide an organization ID to fetch it through that organization.

Instructions

Get a specific document by ID from IT Glue, including its sections, its organization (organizationId and organizationName), folder and published dates. organization_id is optional: without it the document is read by ID alone (GET /documents/:id); with it, through the organization (GET /organizations/:organization_id/relationships/documents/:id). Both return the same fields.

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": {
      "id": "<id>"
    },
    "name": "get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe document ID
organization_idNoOptional. Organization ID that owns the document. Leave it out when only the document ID is known.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.21.0
    • changedInput schema / properties / organization_id / description
      Previous value: -"Organization ID that owns the document"New value: +"Optional. Organization ID that owns the document. Leave it out when only the document ID is known."
    • changedInput schema / required
      Previous value: -[
      -  "organization_id",
      -  "id"
      -]New value: +[
      +  "id"
      +]
  2. Addedv1.16.2
  3. Removedv1.15.0
  4. First observedv1.5.3

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden. It discloses the two underlying endpoint paths and, importantly, guarantees both return the same fields — behavior an agent could not infer from the schema. It does not mention error modes (e.g. 404 for an unknown ID) or permission requirements, which keeps it from a 5.

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?

Front-loaded with the primary action and return contents, then the optional-parameter branch. Three sentences, no filler, though the two raw endpoint URLs add density that a reader may skim past.

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 no output schema and no annotations, the description must describe both behavior and returns, and it does — listing the field groups returned and clarifying that the response is identical either way. Minor omissions around failure behavior and permissions are tolerable for a simple read tool.

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 already 100%, so the baseline is 3, and the description earns above that by explaining the semantic consequence of organization_id: it changes the routing path but not the payload. The schema's own note ('leave it out when only the document ID is known') is reinforced rather than merely repeated.

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 ('Get a specific document by ID from IT Glue') and immediately enumerates what is returned (sections, organization, folder, published dates). That level of specificity separates it from the sibling search_documents and list_document_sections tools without requiring the reader to open any 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 context of use is clear: fetch one document when its ID is already known, with a sibling like search_documents implicitly covering discovery. It never explicitly states when not to use it or names a specific alternative tool, so it stops short of a 5.

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