Skip to main content
Glama
contextstream

ContextStream MCP Server

Graph

graph
Read-onlyIdempotent

Analyze code structure through dependencies, change impact, function call paths, and related nodes to identify issues like circular dependencies and unused code.

Instructions

Code graph analysis. Actions: dependencies (module deps), impact (change impact), call_path (function call path), related (related nodes), path (path between nodes), decisions (decision history), ingest (build graph), circular_dependencies, unused_code, contradictions, usages (reverse deps).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
workspace_idNoWorkspace ID (UUID).
project_idNoProject ID (UUID).
node_idNoFor related/contradictions
source_idNoFor path
target_idNoFor path
target_typeNoFor usages: module|function|type|variable
targetNoFor dependencies/impact
sourceNoFor call_path
max_depthNoMaximum traversal depth.
include_transitiveNoInclude transitive dependencies.
limitNoMaximum number of results to return.
waitNoFor ingest: wait for completion
Behavior2/5

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

Annotations declare readOnlyHint=true, but the description includes 'ingest (build graph)', which suggests a write operation. This contradiction undermines transparency. The description adds some behavioral context (e.g., action names) but fails to resolve the inconsistency with annotations.

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?

The description is concise (single line) and front-loads the core purpose. However, the list of actions is run-on; using bullet points or better separation would improve structure. Still efficient with no wasted text.

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?

Given the tool's complexity (11 actions, 13 parameters, no output schema), the description is too terse. It does not explain when to use each action, what the return values look like, or how parameters interact. The schema fills many gaps, but the description leaves the agent with insufficient context for correct invocation.

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 coverage is 100% with detailed descriptions for all 13 parameters. The description adds minimal value beyond the schema by providing glosses for actions (e.g., 'module deps'), which helps interpret the 'action' parameter. Baseline 3 is appropriate.

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?

The description clearly states the tool is for 'Code graph analysis' and lists 11 distinct actions, each with a brief gloss (e.g., 'dependencies (module deps)'). This makes the purpose specific and differentiates it from sibling tools like 'search' or 'entity'.

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?

The description enumerates the available actions but provides no guidance on when to use this tool over alternatives, nor does it specify prerequisites or when not to use it. The list implies usage contexts, but explicit when-when-not instructions are absent.

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/contextstream/mcp-server'

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