Skip to main content
Glama

Reject Direct Session

reject_direct_session
DestructiveIdempotent

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesCanonical session id argument for the reject_direct_session Direct Session operation.
idempotency_keyYesRequired mutation idempotency key, shared across REST, MCP, and A2A.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the upstream exchange call succeeded (HTTP status < 400).
dataYesCanonical reject_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 reject_direct_session Direct Session operation."
  2. Added

TDQS

D1.7/5.0
Behavior2/5

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

The description adds only the authentication requirement ('Requires an Authorization: Bearer header'), which is not covered by annotations. However, it fails to disclose any behavioral consequences of rejecting a session, such as whether it is reversible or what occurs to the session state. Annotations already indicate destructive and idempotent, but the description does not enrich this with specific side effects or context.

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

Conciseness2/5

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

The description is short but under-specified. It repeats the tool name and adds one auth note, providing no substantive content. This is not concise expression of important information; it is a placeholder-level description.

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 an output schema and complete parameter schema, the description omits essential context for a destructive operation. It does not explain what a Direct Session is, when rejection is appropriate, or any consequences. For a tool in a family of session-management operations, this is insufficient.

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 coverage is 100%, so the schema fully documents both parameters. The description adds no new parameter semantics beyond the auth header, but the baseline of 3 applies because the schema carries the burden successfully.

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

Purpose1/5

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

The description 'Execute the canonical Direct Session reject_direct_session operation' merely restates the tool name without explaining what 'reject_direct_session' does. It does not specify a verb+resource or distinguish this from sibling operations like approve_direct_session or close_direct_session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives. The description lacks any context on when rejection is appropriate or what distinguishes it from approve/close operations.

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.