Skip to main content
Glama

linear_searchDocuments

Read-onlyIdempotent

Search Linear documents by term to locate relevant content across titles and text. Filter by team, include archived items, or sort results.

Instructions

Search Linear documents by term

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termYesSearch term for document titles and content
limitNoMaximum number of results to return (default: 25)
teamIdNoOptional team ID to scope the search
orderByNoSort results by created or updated date
snippetSizeNoOptional snippet size for search result context
includeArchivedNoInclude archived documents in the search
includeCommentsNoInclude comment matches in the search payload when supported

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodesNo
totalCountNo

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 / nodes / items / properties / creator / properties / email / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / nodes / items / properties / sortOrder / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / nodes / items / properties / updatedBy / properties / email / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / nodes / items / 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": {
      +    "nodes": {
      +      "items": {
      +        "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"
      +            ]
      +          },
      +          "metadata": {
      +            "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"
      +      },
      +      "type": "array"
      +    },
      +    "totalCount": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Addedv1.1.2

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description doesn't need to repeat safety. It adds minimal behavioral context beyond that—no mention of default limit, sorting, or what gets searched (title/content is in the schema). The description is consistent with annotations, so no contradiction, but it provides little extra value.

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, clear sentence with no redundancy. It states the core purpose directly and is well-structured for quick scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the output schema exists and the input schema covers all parameters, the description itself is very terse. It doesn't add context about the scope of documents, result behavior, or filtering options (though these are in the schema). For a simple search tool, it's adequate but minimal; more context like 'searches title and content' could help, though that's already in the parameter description.

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%, so all parameters are already documented in the schema. The description adds no extra meaning; it simply echoes the 'term' parameter. According to the baseline, with high coverage, a score of 3 is appropriate because the description doesn't enhance parameter understanding.

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 (search) and the resource (Linear documents), with a qualifier ('by term'). However, it does not explicitly differentiate from sibling search tools like linear_searchIssues or linear_searchReleases; the distinction is only implied by the tool name. A bit more specificity about what constitutes a document would improve it.

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?

There is no guidance on when to use this tool versus alternatives. The description does not mention that it is specifically for documents (vs. issues or releases), nor does it suggest when to prefer linear_getDocuments or other search tools. The agent is left to infer usage 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