Skip to main content
Glama

Get debug session

get_debug_session
Read-only

Retrieve a diagnostic session and its events by session ID to analyze debugging details.

Instructions

Read one local diagnostic session and its events.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
session_idYes
Behavior3/5

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

Annotations already declare readOnlyHint: true, so the agent knows this is a safe read. The description adds that it retrieves events in addition to the session, but does not disclose any behaviors like pagination, limits, or error conditions. The read-only nature is consistent with annotations, so no contradiction.

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, focused sentence that immediately conveys the core purpose. No word is wasted, and it is front-loaded with the action verb. This is an appropriately sized description for a simple read operation.

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?

This is a low-complexity tool (2 params, no output schema, readOnlyHint annotation). The description covers the essential purpose and return scope ('session and its events'), which is sufficient for a basic read. It lacks explicit mention of the 'limit' parameter and return format, but given the tool's simplicity and existing annotations, it is nearly complete.

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

Parameters2/5

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

Schema description coverage is 0%, and the description must compensate for both parameters (session_id and limit). The description implies session_id identifies the session but says nothing about 'limit', leaving it unclear whether it caps events or something else. This is minimal compensation; more parameter detail would be expected.

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 uses a specific verb ('Read') and clearly identifies the resource ('one local diagnostic session and its events'). It differentiates from siblings like list_debug_sessions (which would retrieve multiple sessions) and create/close_debug_session (which are mutations).

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 implies usage: it is for reading a single session. However, it does not explicitly state when to use it over alternatives or provide any exclusions or prerequisites. The sibling list shows many related debug tools, but the description gives no direct comparison, relying instead on the implied scope of 'one'.

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/Xsxdot/super-dev'

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