Skip to main content
Glama

thread_graph

Read-onlyIdempotent

Deprecated, works until 2026-11-10: use node_graph.

Input Schema

NameRequiredDescriptionDefault
qNo
rootNo
depthNo
typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / depth / description
      Removed value: -"hops; 1 (the viewer expands further on click)"
    • addedInput schema / properties / q
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / root / description
      Removed value: -"the node to open; default 'trana'"
    • addedInput schema / properties / types
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "relates",
      +      "blocks",
      +      "duplicates",
      +      "fixed-by",
      +      "part-of",
      +      "answers",
      +      "supersedes"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / depth / description
      Added value: +"hops; 1 (the viewer expands further on click)"
    • removedInput schema / properties / q
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / root / description
      Added value: +"the node to open; default 'trana'"
    • removedInput schema / properties / types
      Removed value: -{
      -  "items": {
      -    "enum": [
      -      "relates",
      -      "blocks",
      -      "duplicates",
      -      "fixed-by",
      -      "part-of",
      -      "answers",
      -      "supersedes"
      -    ],
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
  3. Changed4 schema fields changed
    • removedInput schema / properties / depth / description
      Removed value: -"hops; 1 (the viewer expands further on click)"
    • addedInput schema / properties / q
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / root / description
      Removed value: -"the node to open; default 'trana'"
    • addedInput schema / properties / types
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "relates",
      +      "blocks",
      +      "duplicates",
      +      "fixed-by",
      +      "part-of",
      +      "answers",
      +      "supersedes"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / depth / description
      Added value: +"hops; 1 (the viewer expands further on click)"
    • removedInput schema / properties / q
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / root / description
      Added value: +"the node to open; default 'trana'"
    • removedInput schema / properties / types
      Removed value: -{
      -  "items": {
      -    "enum": [
      -      "relates",
      -      "blocks",
      -      "duplicates",
      -      "fixed-by",
      -      "part-of",
      -      "answers",
      -      "supersedes"
      -    ],
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
  5. Changed2 schema fields changed
    • addedInput schema / properties / q
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / types
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "relates",
      +      "blocks",
      +      "duplicates",
      +      "fixed-by",
      +      "part-of",
      +      "answers",
      +      "supersedes"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  6. Changed2 schema fields changed
    • removedInput schema / properties / depth / description
      Removed value: -"hops; 1 (the viewer expands further on click)"
    • removedInput schema / properties / root / description
      Removed value: -"the node to open; default 'trana'"
  7. Changed2 schema fields changed
    • addedInput schema / properties / depth / description
      Added value: +"hops; 1 (the viewer expands further on click)"
    • addedInput schema / properties / root / description
      Added value: +"the node to open; default 'trana'"
  8. Changed2 schema fields changed
    • removedInput schema / properties / depth / description
      Removed value: -"hops; 1 (the viewer expands further on click)"
    • removedInput schema / properties / root / description
      Removed value: -"the node to open; default 'trana'"
  9. Changed2 schema fields changed
    • addedInput schema / properties / depth / description
      Added value: +"hops; 1 (the viewer expands further on click)"
    • addedInput schema / properties / root / description
      Added value: +"the node to open; default 'trana'"
  10. Changed2 schema fields changed
    • removedInput schema / properties / depth / properties
      Removed value: -null
    • removedInput schema / properties / root / properties
      Removed value: -null
  11. Changed4 schema fields changed
    • removedInput schema / properties / depth / description
      Removed value: -"hops; 1 (the viewer expands further on click)"
    • addedInput schema / properties / depth / properties
      Added value: +null
    • removedInput schema / properties / root / description
      Removed value: -"the node to open; default 'trana'"
    • addedInput schema / properties / root / properties
      Added value: +null
  12. Added

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered elsewhere. The description adds only the deprecation lifecycle fact and nothing about traversal semantics, cost, or limits of the graph query.

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?

One short, front-loaded sentence with the deprecation window and the replacement named immediately. Nothing is wasted, though the space saved is space left unfilled with needed detail.

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

Completeness2/5

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

With no output schema, four undocumented parameters, and no explanation of what a thread graph query does, the definition leaves an agent unable to construct a correct call. The deprecation pointer is the only actionable content.

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

Parameters1/5

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

All four parameters (q, root, depth, types) have 0% schema description coverage and the description mentions none of them. It does not even clarify that 'types' selects edge kinds or what 'depth' bounds, leaving the caller to guess.

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

Purpose2/5

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

The description never states what thread_graph actually does; it only says it is deprecated and points to node_graph. The name hints at a graph-over-threads operation, but no verb or resource is explained, so an agent cannot tell what the tool returns or how it differs from node_graph beyond deprecation.

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?

It gives one explicit directive — use node_graph instead — plus a hard deprecation date (2026-11-10), which is genuine routing guidance. However it does not say when thread_graph would still be appropriate during the window, nor whether output differs from node_graph.

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