Skip to main content
Glama

session_lease_info

Check the lease status of a browser session without exposing the token. Retrieve lease state for a named session to verify availability before taking actions.

Instructions

Report the lease state for a session (never returns the token).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoSession name.
leaseNoOptional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env.
sessionNoOptional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It reveals only that it 'never returns the token', which is a safety trait, but it does not state whether the operation is read-only, side-effect-free, or any error/response behavior beyond that. For a tool that presumably queries state, more transparency is needed.

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 sentence that front-loads the primary action and safety constraint. There is no wasted wording, and the 'never returns the token' caveat is placed right after the purpose, which is especially relevant for an agent deciding whether to call this tool.

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?

With no output schema, the description should clarify what the tool returns (e.g., whether it returns a boolean, status text, or structured lease info). It also omits behavior for missing sessions or invalid parameters. While the schema offers some guidance on session naming, the description is too thin to fully prepare an agent for invoking the 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 description coverage is 100%, so the parameters 'name', 'lease', and 'session' are already fully documented. The description itself adds no parameter-specific meaning beyond the schema. Since the schema covers all parameters, the baseline of 3 applies.

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 action ('Report the lease state') and the target resource ('for a session'). It explicitly adds 'never returns the token', which distinguishes it from sibling tools like session_lease and session_release that likely return tokens. This makes the purpose unmistakable.

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 description implies usage for checking lease state but does not explicitly say when to use it vs. alternatives. It does not mention 'use this before acquiring a lease' or 'use this to verify lease status'. However, the sibling context suggests it is a read-only counterpart to lease/release, which is implicit. No exclusions or alternatives are stated, so it meets only the minimum viable.

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