Skip to main content
Glama

end_sessions

Log out and release test-customer leases so others can reuse them; with no arguments, end all sessions for this server.

Instructions

Log out and release test_customer leases so others can use those test customers. Without arguments: all sessions of this server.

Input Schema

NameRequiredDescriptionDefault
serviceNo
environmentNo
test_customerNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already mark this as non-read-only and open-world. The description adds meaningful context beyond that: it releases test_customer leases so others can use them, and it defaults to all sessions of this server when called without arguments. It does not contradict the annotations.

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 compact sentences with the scope constraint front-loaded. Every sentence carries useful information and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. However, for a mutation tool with three undocumented parameters, the description leaves meaningful gaps about what each parameter filters or targets.

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?

There are three parameters (service, environment, test_customer) with 0% schema description coverage, and the description does not explain what any of them mean. It mentions test_customer leases but gives no parameter-level semantics for service or environment.

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?

The description states a specific verb and resource: logging out and releasing test_customer leases. The lease-release detail distinguishes it from siblings like session_variables and list_test_customers, though it does not explicitly name alternatives.

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?

The phrase 'Without arguments: all sessions of this server' gives useful default-scope guidance, but there is no explicit when-to-use guidance versus alternatives or prerequisites. Usage is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.