Skip to main content
Glama

Get a session

get_session
Read-only

For a personal AI agent: one public session, with its price in pence (price.amountMinor, GBP: 2200 is £22), places left, the exact moment free cancellation ends and why it cannot be booked when it cannot.

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": {
      "sessionId": "<sessionId>"
    },
    "name": "get_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no output schema, the description carries useful behavioral context: price semantics (amountMinor, GBP, 2200 = £22), places remaining, the exact cancellation cutoff, and a reason when booking is blocked. It does not contradict the readOnlyHint/destructiveHint annotations. It is silent on error behavior for an invalid or unknown sessionId, which matters for a lookup tool.

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?

A single front-loaded sentence that packs the return-value semantics without preamble. The closing clause ('why it cannot be booked when it cannot') is slightly clumsy but still conveys meaning efficiently.

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?

A one-parameter read tool with no output schema and full annotation coverage; the description names the key returned fields and the price-unit convention, which is the main trap. Missing only the origin/format of sessionId and failure behavior for unknown IDs.

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 the single parameter, so the description must compensate – but it never mentions sessionId or its format, constraints (1-64 chars), or where an agent obtains one. The agent learns nothing about the parameter beyond what the bare schema shows.

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+resource ('one public session') and enumerates the fields returned: price in minor units, places left, cancellation end, and bookability reason. It does not distinguish itself from siblings like search_sessions or get_quick_book, but an agent can tell what it fetches.

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 – the mention of 'why it cannot be booked' hints this is a pre-booking availability check, but no alternative tool is named and there is no explicit when/when-not guidance. The agent must infer that it should call this instead of get_prices or search_sessions for a single session.

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.

Resources