Skip to main content
Glama

get_session_state

Retrieve the current field values, computation transcript, and pending message queue for an active session

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession UUID

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden. 'Retrieve' indicates a read-only operation and the listing of returned components adds some transparency. However, it does not disclose error behavior, authentication requirements, or what happens if the session is inactive.

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, well-structured sentence that directly states the purpose without any wasted words. It front-loads the action and resource.

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 simple one-parameter schema and no output schema, the description sufficiently covers what the tool does and what it returns. It does not detail error conditions, but the core functionality is fully described.

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 covers 100% of the sole parameter (session_id as 'Session UUID'). The description adds no additional semantics beyond the schema, so the 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 retrieves current field values, computation transcript, and pending message queue for an active session. The verb 'retrieve' and specific resources distinguish it from sibling tools like push_session_action or close_session.

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?

Usage is implied: use when you need to fetch the state of an active session. There is no explicit mention of when not to use or alternatives, but the context is clear enough for a read-only retrieval tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.3/5.0
Disambiguation2/5

calculate_cas and calculate_cas_headless are explicitly aliases, creating two tools for the same purpose. Also, calculate and generate_prefilled_url both produce prefilled URLs, so their boundaries are not fully distinct.

Naming Consistency4/5

Most tools follow a verb_noun pattern (calculate, create_session, get_session_state, list_calculators). The main deviation is calculate_cas_headless, which still fits the pattern but is an awkward alias name.

Tool Count4/5

The 10-tool count is reasonable for a calculator service with session management. However, the alias tool is redundant and could be removed without losing functionality.

Completeness4/5

The tool set covers listing calculators, getting schemas, running calculations (standard and CAS), managing sessions, and generating URLs. Minor gaps like a dedicated way to delete sessions are addressed by close_session, so coverage is adequate.

Resources