Skip to main content
Glama

list_leases

List a board's leases as a Notion-shape {object:'list', results, has_more, next_cursor} envelope. It provides read-only queue observability for the board UI and Maya's 'who is stuck' view. Mirrors GET /v1/boards/{board_id}/leases. state is one of 'active' (default; currently held: not released and not yet expired), 'expired' (lapsed but not yet reaped/released, i.e. the stuck queue), or 'all' (full history incl. released rows); an unknown value is a 422. column_id narrows to one column's queue. Results are ordered soonest-to-expire first; page with page_size + the opaque start_cursor from a prior next_cursor. Requires board READ access (viewer+); a restricted board you cannot see returns 404. A read: never blocked for a past_due org.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
stateNoactive
board_idYes
column_idNo
page_sizeNo
start_cursorNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full load and does so well: it declares the operation read-only, requires board READ access (viewer+), states a restricted board returns 404, notes reads are never blocked for a past_due org, and specifies that an unknown state yields a 422. It also discloses ordering (soonest-to-expire first) and the cursor-pagination contract.

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?

Front-loaded with purpose and return shape, then parameter behavior, then permissions and paging. It is a dense single block and includes some editorializing ('Maya's "who is stuck" view', 'Notion-shape') that is not strictly needed, but nearly every clause carries operational information.

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

Completeness5/5

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

Output schema exists, so return values need no prose, and the description still summarizes the envelope. Given five parameters, an auth model, pagination, and state semantics, nothing an agent needs in order to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must define all five parameters, and it does: `state` gets its three values, default, and error behavior; `column_id` is described as narrowing to one column's queue; `page_size` plus the opaque `start_cursor` (taken from a prior `next_cursor`) define paging; `board_id` scoping is clear from the surrounding text. This is meaningfully more than the bare schema offers.

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?

States a specific verb and resource ('List a board's leases') and pins the exact return shape ({object:'list', results, has_more, next_cursor}) plus the mirrored endpoint GET /v1/boards/{board_id}/leases. That is enough for an agent to distinguish it from the many other list_* siblings, none of which operate on leases.

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

Usage Guidelines4/5

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

Explicitly says which `state` value to choose for which intent ('active' default held leases, 'expired' for the stuck queue, 'all' for full history) and when to add `column_id`. It does not name an alternative tool for related views, but no sibling clearly overlaps, so the contextual guidance is strong if not exhaustive.

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.

Resources