Skip to main content
Glama

Get Direct Session

get_direct_session
Read-onlyIdempotent

Execute the canonical Direct Session get_direct_session operation. Requires an Authorization: Bearer header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesCanonical session id argument for the get_direct_session Direct Session operation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the upstream exchange call succeeded (HTTP status < 400).
dataYesCanonical get_direct_session result. Null when ok is false.
errorYesIn-band error code or message when ok is false; null on success.
statusYesUpstream HTTP status code returned by the Conductor Relay API.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • addedInput schema / properties / session_id / description
      Added value: +"Canonical session id argument for the get_direct_session Direct Session operation."
  2. Added

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already disclose read-only, idempotent, and non-destructive behavior. The description adds the requirement for an Authorization: Bearer header, which is useful context, but it does not describe any other behavioral traits such as error conditions or response handling. This adds some value beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two sentences and appropriately short, but the first sentence—'Execute the canonical Direct Session get_direct_session operation'—merely repeats the tool name and does not earn its place. The second sentence provides the auth requirement, but the overall structure is not well-focused.

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?

Despite having a simple schema, output schema, and rich annotations, the description fails to explain what a direct session is or what the operation returns or is used for. With multiple sibling tools, the lack of context makes it insufficient for an agent to understand when and why to invoke this tool.

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 coverage for the single parameter session_id is 100%, and the description does not add any further meaning. The schema says 'Canonical session id argument for the get_direct_session Direct Session operation,' which is tautological but still names the parameter. Baseline score of 3 is appropriate since the description does not compensate with additional detail.

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

Purpose2/5

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

The description states 'Execute the canonical Direct Session get_direct_session operation,' which restates the tool name and does not explain what the operation does (e.g., retrieves session details). It fails to specify a verb+resource beyond the name itself, making it tautological.

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 guidance on when to use this tool versus sibling tools like list_direct_sessions, open_direct_session, or close_direct_session. The only additional note is the Authorization header requirement, which is a prerequisite, not a usage guideline.

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.