Skip to main content
Glama

get_graph_stats

Check key metrics for any session: tasks, decisions, files, and errors tracked in the knowledge graph.

Instructions

See the knowledge graph stats for a session: how many tasks, decisions, files, and errors are tracked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession ID to inspect
Behavior3/5

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

No annotations provided, so the description carries the full burden. It discloses that the tool reads stats (non-destructive) and lists the types of stats. However, it does not mention any behavioral traits like required permissions, response format, or potential side effects, which are minimal for a read operation.

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, front-loaded sentence that efficiently conveys the tool's action and output. Every word adds value, and there is no wasted content.

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?

Given the tool's simplicity (one parameter, no output schema), the description is reasonably complete. It explains what stats are tracked, though it could elaborate on whether stats are cumulative or per-session. Overall, it provides sufficient context for an agent to understand usage.

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?

The description adds no extra meaning beyond the input schema. The schema already describes the session_id parameter with full coverage (100%), so the description's mention of 'session' is redundant. Baseline score 3 applies.

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 purpose: to see knowledge graph stats for a session. It specifies what stats are included (tasks, decisions, files, errors), making the tool's function precise and distinct from sibling tools like analyze_file or get_savings_stats.

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?

The description implicitly indicates when to use (when needing graph stats for a session) but does not explicitly state when not to use or mention alternatives. However, the standalone purpose is clear enough for typical scenarios.

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/Shweta-Mishra-ai/tokenmizer'

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