Skip to main content
Glama

Finalize Session

session_finalize
Idempotent

Mark a cross-review session as converged, aborted, or max-rounds with an optional reason.

Instructions

Mark a durable session as converged, aborted or max-rounds with an optional reason.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callerNooperator
reasonNo
outcomeYes
session_idYes
response_formatNojson
Behavior3/5

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

Annotations already indicate idempotency and non-destructiveness. The description adds context about the session being 'durable' and an optional 'reason', but does not elaborate on side effects, state transitions, or authorization needs. It provides moderate additional value beyond 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?

The description is a single, front-loaded sentence of 11 words with no redundancy. It efficiently communicates the core action and parameters, earning every word.

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?

For a tool with 5 parameters, 2 required, and no output schema, the description is incomplete. It omits details on the 'caller' and 'response_format' parameters, does not explain the return value, and lacks information about behavioral implications like idempotency effects or session state changes after finalization.

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?

With 0% schema description coverage, the description must compensate. It only explains the 'outcome' and 'reason' parameters, but fails to describe 'session_id', 'caller', and 'response_format'. This leaves half of the parameters undocumented, which is insufficient given the lack of schema descriptions.

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

Purpose5/5

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

The description clearly states the verb 'mark' and the resource 'durable session', listing three specific outcomes (converged, aborted, max-rounds). This distinguishes it from sibling tools like session_init or session_cancel_job by clearly indicating it sets the final status of a session.

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 explicit guidance on when to use this tool versus alternatives. Among the many session-related siblings, no conditions, prerequisites, or exclusions are provided, leaving the agent to infer usage solely from the description.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LCV-Ideas-Software/cross-review'

If you have feedback or need assistance with the MCP directory API, please join our Discord server