Skip to main content
Glama

get_session_state

Read-only

Get the state of a live presentation session (current slide, status, and after the talk the actual time per slide for plan-vs-actual). Required: code or session_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_session_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoCode of the live presentation session (alternative to session_id)
session_idNoID of the session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / code / description
      Added value: +"Code of the live presentation session (alternative to session_id)"
    • addedInput schema / properties / session_id / description
      Added value: +"ID of the session"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description contributes by disclosing what the returned state comprises and that per-slide timing only becomes meaningful after the talk; it says nothing about missing/expired sessions or error behavior.

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?

Two tightly packed sentences with no waste; the returned payload is front-loaded in parentheses and the input requirement is stated last in a compact form.

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?

For a simple read-only lookup with full schema coverage and annotations covering the safety profile, the description is nearly self-sufficient. The only thin spot is the absence of behavior for invalid codes or sessions that have not started.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds a real constraint the schema omits: the schema lists no required properties, yet the description states 'code or session_id' must be supplied. That clarifies the either/or requirement beyond the structured data.

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 and resource ('Get the state of a live presentation session') and enumerates what the state contains (current slide, status, per-slide actual-vs-plan timing). An agent can tell what it returns, though it never explicitly distinguishes itself from siblings like end_session or start_presentation_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 only implied by naming the resource: read the state of a live session. No guidance on when to prefer this over related session tools, no timing prerequisites beyond the 'after the talk' note for timing data, and no statement of when not to call it.

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.