Skip to main content
Glama

Export project graph

export_project_graph
Read-onlyIdempotent

Read the published graph back, complete and in canonical node order, for diffing, resuming, or verifying a mapping.

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": {
      "projectId": "<projectId>"
    },
    "name": "export_project_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoOpaque nextCursor from the preceding page of this same query. Omit for the first page; do not construct or reuse across projects.
pageSizeNoMaximum items requested per page, within the schema limits. Continue with the returned nextCursor when present.
projectIdYesOwned Brain Scanner project ID from the account's project list; not a local path or repository URL.
sessionIdNoID of this project's active agent session, returned when the session was started. Not needed for read-only calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Owned Brain Scanner project ID from the account's project list; not a local path or repository URL."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."New value: +"ID of this project's active agent session, returned when the session was started. Not needed for read-only calls."
  2. Changed1 schema field changed
    • changedInput schema / properties / sessionId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."
  3. Changed4 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"Opaque nextCursor from the preceding page of this same query. Omit for the first page; do not construct or reuse across projects."
    • addedInput schema / properties / pageSize / description
      Added value: +"Maximum items requested per page, within the schema limits. Continue with the returned nextCursor when present."
    • addedInput schema / properties / projectId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / sessionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds traits annotations cannot express: the result is complete rather than filtered, and nodes come in a canonical (stable, deterministic) order — exactly the property that makes diffing and resume-after-interruption safe.

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?

One sentence, front-loaded with the operation and its output guarantee, then the use cases. No restatement of the name or title, no filler.

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 rich annotations, full schema coverage, and only four flat parameters, the main remaining gap is that no output schema exists and the description never sketches the returned payload (nodes, edges, nextCursor) beyond 'complete graph'. The completeness and ordering guarantees partially compensate, making it adequate but not exhaustive.

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%, and each parameter (cursor, pageSize, projectId, sessionId) already carries a precise description, including the warning not to reuse cursors across projects. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

States a specific verb and resource: read the published graph back, complete, in canonical node order. An agent knows exactly what it gets. It stops short of differentiating itself from nearby read tools such as get_context_graph or get_graph_scope, so it is clear but not sibling-disambiguated.

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?

Names three concrete use cases — diffing, resuming, and verifying a mapping — which is clear when-to-use context. It gives no exclusion or named alternative, so an agent comparing it against the other graph-read siblings must still infer which one to pick.

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