Skip to main content
Glama

Get Session Info

kg_session_info
Read-onlyIdempotent

Retrieve current session details—number, start time, project, notes—plus node counts by type. Use this read-only call to confirm the active session before recording or querying shared knowledge-graph memory.

Instructions

Get details of the current session (number, start time, project, notes) and node counts by type. Read-only.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so 'Read-only' in the description is mostly repetition. What the description does add is the scope of what is retrieved (session metadata plus node counts by type), which helps an agent anticipate the read's breadth, though return format and aggregation detail remain unstated.

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?

Two short sentences, with the resource and returned fields front-loaded. The trailing 'Read-only' duplicates the annotations and is the one non-earning fragment.

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 no output schema, the description carries the burden of describing returns and does so at a high level (session fields and node counts by type), enough for an agent to decide to call it. It could note behavior when no session is active, which keeps it from a 5.

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

Parameters4/5

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

The tool takes zero parameters, which is the baseline-4 case; there is nothing for the description to disambiguate beyond confirming it operates on the implicit current session.

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?

The description names a specific verb and resource ('Get details of the current session') and enumerates the returned fields (number, start time, project, notes) plus node counts by type. It does not explicitly contrast with siblings like kg_status or kg_meta_model, so it falls short of a 5.

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?

'current session' implies the context in which it applies, but the description never states when to use it instead of kg_status or kg_meta_model, nor any prerequisites such as an active session. Usage is only inferable.

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