Skip to main content
Glama

session_get

Read-only

Get a session snapshot

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceSlug": "<workspaceSlug>",
      "sessionId": "<sessionId>"
    },
    "name": "session_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered without the description. The description adds almost nothing beyond them — "snapshot" hints at a point-in-time state read, but whether it means a rendered view, a config dump, or a compact summary is left ambiguous.

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?

The single short clause is front-loaded and entirely free of padding. Brevity is not the problem here; the sentence simply carries too little information, which is captured in the other dimensions.

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?

For a two-required-parameter read tool with no output schema, the description should at least say what the snapshot contains and how it differs from the many sibling session getters. Neither is present, so an agent cannot confidently choose or invoke it.

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% for two required parameters. The description says nothing about sessionId (ID vs slug, format) or workspaceSlug (how the session is scoped within a workspace), so it does not compensate for the undocumented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get a session snapshot" names a verb and resource, but "snapshot" is undefined and does nothing to separate it from siblings such as session_result_get, session_audience_get, session_image_get, or agent_session_default_get. An agent can tell it is session-related but not what specifically it returns.

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?

There is no when-to-use guidance, no mention of alternatives, and no prerequisites (e.g., that a workspaceSlug is needed to resolve the session). Usage is only implied by the word "Get".

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.