Skip to main content
Glama

get_session_info

Fetch basic information about an OpenAPI specification session using its session ID, enabling AI assistants to retrieve session state for continued API analysis.

Instructions

Get basic information about an OpenAPI specification session

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesThe session ID returned from initialize_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Get' implies a read, but it says nothing about permissions, whether the session must be active, error behavior for an unknown/expired sessionId, or what happens after remove_session. Substantial behavioral gaps remain.

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?

One short, front-loaded sentence with no filler. It is appropriately sized, though there is little content to structure.

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

Completeness2/5

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

There is no output schema, so the description should explain what 'basic information' actually contains (name, version, endpoint count, etc.). Leaving the return shape entirely unspecified for a read tool with no structured output leaves an agent guessing.

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 there is only one parameter; the schema already documents sessionId as 'The session ID returned from initialize_session'. The description adds nothing 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 (Get) and resource (information about an OpenAPI specification session), which is more than a tautology. However, 'basic information' is vague about scope, and nothing distinguishes it from siblings like initialize_session or list_endpoints beyond the word 'session'.

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

Usage Guidelines2/5

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

No guidance on when to call this versus initialize_session (which creates the sessionId) or the other session-scoped tools. The sessionId parameter description hints it follows initialization, but the description itself provides no usage context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.