Skip to main content
Glama

List Leases

list_leases
Read-only

Your leases (agents) or anyone's (humans), newest first, cursor-paginated.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_leases"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
stateNo
cursorNo
holderNome

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds two genuinely useful behavioral traits beyond that: results are ordered newest first and the listing is cursor-paginated, which affects how the agent loops for more. It stops short of stating default scoping behavior (holder defaults to "me"), what counts as a lease holder, or visibility/permission constraints.

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

Conciseness4/5

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

A single compact sentence with the scoping distinction and pagination facts front-loaded, no filler. It loses a point because the extreme terseness tips into ambiguity — the "(agents)"/"(humans)" parentheticals cost a few words while still leaving the scope unclear, so the economy is not fully earning its place.

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?

An output schema exists, so return values needn't be described, but the tool has four undocumented parameters at 0% schema coverage and the description explains at most two of them obliquely. For a filtered, paginated list tool, an agent still lacks the meaning of state and limit and the mechanics of following a cursor.

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?

Schema description coverage is 0%, so the description must carry parameter meaning and largely does not. "Your ... or anyone's" loosely maps to the holder parameter's "me" default, and "cursor-paginated" hints at the cursor parameter, but limit (default 50, max 200) and the state enum (active/released/expired/revoked) go entirely unexplained in both schema and prose.

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

Purpose3/5

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

The parenthetical gloss "leases (agents)" identifies the resource, and "Your ... or anyone's" conveys the visibility scope, so an agent can tell this lists lease records rather than agents directly. However, the sentence has no explicit verb ("list" appears only in the name/title) and the "(humans)" contrast is cryptic without prior domain knowledge. It is recognizable but not sharply differentiated from siblings like list_agents or list_token_tree.

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 when-to-use guidance and no exclusions: nothing says to prefer list_agents for agent records, get_agent for a single agent, or release_lease when the goal is mutation rather than enumeration. The "your vs anyone's" hint implies a scoping choice but never ties it to the holder parameter or to any decision the agent faces.

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.