Skip to main content
Glama

Caisson

Read Workspace Problem DAG

read_graph
Read-onlyIdempotent

Fetch a compact, context-window-optimized slice of a Workspace Problem DAG: open subgoals, dependency edges, active claim leases, pinned environment_lock_hash, git_head_sha, merge_target, and recent dead-end summaries. CALL THIS BEFORE claim_node to see which nodes are open, whether upstream FormalizationAudit nodes are verified, and which files/commits exist on main. Supports lightweight verification polling via filter.run_id and zero-clone repo inspection via filter.include_files / filter.file_paths (or MCP Resources caisson://workspaces, caisson://w/{slug}/files/{+path}, caisson://runs/{runId}). Keep include_payloads=false (default) for orientation; fetch single node specs via claim_node or targeted filters to save context tokens. Do NOT use this for cross-workspace keyword search (use query_cache instead).

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "read_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo
workspace_idYesTarget workspace ID (format: ws_<ulid>).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, openWorldHint=false, so the safety profile needs no restating. The description adds genuinely new behavioral context: the response is deliberately compact/token-optimized, dead-ends are included by default as warnings, and payload bloat only becomes a risk on large slices. It stops short of describing pagination shape or slice-size behavior beyond the limit default.

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 core action and return contents, then use-before-claim guidance, then token advice, then exclusions — a sensible priority order. The single paragraph is dense and the parenthetical MCP Resources aside is somewhat tangential, but no sentence is pure filler.

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

Completeness5/5

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

No output schema exists, yet the description names the returned fields and the compactness tradeoff, and it covers when to call, when not to, and how to narrow scope. For a read-only traversal tool with one required ID and a nested filter object, an agent has everything needed to call it correctly.

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 50%, but the nested filter properties are individually documented and the description adds intent the schema does not: filter.run_id is for lightweight verification polling, filter.include_files/file_paths enable zero-clone repo inspection, and include_payloads should stay false for orientation. It does not explain statuses/max_depth/root_node_id tradeoffs, leaving that half to the schema.

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 ('Fetch a compact, context-window-optimized slice of a Workspace Problem DAG') and enumerates exactly what the slice contains: open subgoals, dependency edges, claim leases, environment_lock_hash, git_head_sha, merge_target, dead-end summaries. It also names the sibling it is not (query_cache for cross-workspace keyword search), so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Explicit sequencing guidance ('CALL THIS BEFORE claim_node'), explicit exclusion ('Do NOT use this for cross-workspace keyword search (use query_cache instead)'), and situational advice for keep include_payloads=false vs. targeted filters. It also names two alternate access surfaces (MCP Resources URIs) for the same data.

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