Skip to main content
Glama

linear_getDocumentById

Read-onlyIdempotent

Retrieve full details of a specific Linear document by its ID to access its content and metadata.

Instructions

Get details of a specific Linear document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the document to retrieve

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
urlNo
iconNo
teamNo
colorNo
cycleNo
issueNo
titleNo
slugIdNo
contentNo
creatorNo
projectNo
releaseNo
trashedNo
hiddenAtNo
createdAtNo
sortOrderNo
updatedAtNo
updatedByNo
archivedAtNo
initiativeNo
resourceFolderIdNo
documentContentIdNo
lastAppliedTemplateNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv1.4.2
    • changedOutput schema / properties / creator / properties / email / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / sortOrder / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / updatedBy / properties / email / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changedv1.4.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "archivedAt": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "color": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "content": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "createdAt": {
      +      "type": "string"
      +    },
      +    "creator": {
      +      "properties": {
      +        "email": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "cycle": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "number": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "documentContentId": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "hiddenAt": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "icon": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "initiative": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "issue": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "identifier": {
      +          "type": "string"
      +        },
      +        "title": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "lastAppliedTemplate": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "project": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "release": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "version": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "resourceFolderId": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "slugId": {
      +      "type": "string"
      +    },
      +    "sortOrder": {
      +      "type": "number"
      +    },
      +    "team": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "trashed": {
      +      "type": "boolean"
      +    },
      +    "updatedAt": {
      +      "type": "string"
      +    },
      +    "updatedBy": {
      +      "properties": {
      +        "email": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Addedv1.1.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering safety and idempotency. The description adds no extra behavioral context beyond the read-only action—no mention of return behavior, error handling, or authentication. It is consistent with annotations, so a baseline 3 is appropriate.

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?

The description is a single, concise sentence with no redundant words. It is front-loaded with the verb and resource, making it immediately clear.

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?

For a simple get-by-id operation with an output schema present, the description is adequate. It does not need to explain return values because the output schema handles that. It implies the full document details, which is sufficient for an agent to call it correctly; however, it could marginally clarify that it returns the current state rather than history, but that is not a significant gap.

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?

Schema description coverage is 100% for the single 'id' parameter, and the description provides no additional semantics beyond what the schema already states. Baseline is 3; the description adds no nuance about the parameter's format or expected values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and resource ('details of a specific Linear document'), making it distinct from list/search operations. However, it does not explicitly differentiate from siblings like linear_getDocumentContentHistory, though the 'ById' suffix and parameter clarify the specificity. It is specific and not a tautology.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as linear_searchDocuments or linear_getDocumentContentHistory. It does not mention conditions, exclusions, or context for selection, leaving the agent to infer from the name alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tacticlaunch/mcp-linear'

If you have feedback or need assistance with the MCP directory API, please join our Discord server