Skip to main content
Glama

list_cards

List cards on a board with optional filter/sort/pagination. Mirrors POST /v1/boards/{id}/query. Filter accepts either the Notion-shape grammar (and/or/property/timestamp per FUNCTIONAL_SPEC §8.3) or the legacy flat-key shape (column_id, status, assignee, archived, due_date). Each leaf is {property: <name>, <type>: {<operator>: <value>}}. Property names are the board's own property names (case-insensitive); call GET /v1/property-types for the operator vocabulary per type. Common tracker filters: select (e.g. Priority): {property: 'Priority', select: {equals: 'P0'}}; also does_not_equal / is_empty / is_not_empty. Combine values with or:[...] for any-of. status/column: {property: 'Status', status: {does_not_equal: 'Done'}}. multi_select: {property: 'Components', multi_select: {contains: 'backend'}}; also does_not_contain / is_empty / is_not_empty. checkbox: {property: 'Resolved', checkbox: {equals: false}}. number: {property: 'Estimate', number: {greater_than_or_equal_to: 3}}. unique_id: {property: 'Bug ID', unique_id: {equals: 'BUG-12'}}. Values may be the property's full prefixed id ('BUG-12', case-insensitive; a WRONG prefix like 'TASK-12' is a 400), a bare integer (12), or a digit string ('12'); same forms for greater_than/less_than(_or_equal_to). Example (open P0 bugs): {and: [{property: 'Priority', select: {equals: 'P0'}}, {property: 'Resolved', checkbox: {equals: false}}]}. Sorts accept a list of {property|timestamp, direction}; title/Name and any board-defined property name are valid sort keys. unique_id sorts NUMERICALLY by counter (BUG-9 before BUG-10), not lexicographically. Assignee-kind facet (NOV-90): pass {property: 'Assignee kind', assignee_kind: {equals: 'humans'|'agents'|'any'}} inside the Notion-shape filter to restrict cards by whether at least one assignee is a human or an agent. 'any' is a no-op (equivalent to omitting the filter). Each result carries a top-level unique_id: the resolved human key ("BUG-12"), or null when the board defines no unique_id property.

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_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortsNo
filterNo
board_idYes
page_sizeNo
start_cursorNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses pagination params' roles, error behavior (a wrong unique_id prefix "is a 400"), no-op semantics ('any' is "equivalent to omitting the filter"), and result shape (top-level unique_id, null when the board defines no unique_id property). It does not state auth/permission requirements or the default sort order.

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 leading sentence front-loads purpose and the endpoint mirror; the remaining bulk is dense reference material for a genuinely complex filter DSL, with each line adding an operator or edge case. Formatting (per-type bullet-style lines, one worked example) aids scanning.

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

Completeness4/5

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

For a 5-parameter tool with a rich output schema, the description covers what the schema cannot: filter grammar, sort key validity, and the unique_id field carried in results. Missing only brief notes on pagination semantics and required permissions.

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

Parameters4/5

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

Schema description coverage is 0% and filter/sorts are untyped additionalProperties objects, so the description must compensate — and it does, with detailed leaf grammar, operator vocabularies per property type, and numeric-vs-lexicographic sort behavior for unique_id. board_id, page_size, and start_cursor are only named incidentally ("optional filter/sort/pagination") rather than explained.

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?

States a specific verb and resource ("List cards on a board") plus the scope of optional filtering/sorting/pagination, and anchors it to the underlying endpoint ("Mirrors POST /v1/boards/{id}/query"). It does not differentiate itself from sibling search_cards, so an agent must infer that this is board-scoped listing rather than cross-board search.

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?

Usage is implied by "on a board" and by the extensive filter examples ("open P0 bugs", assignee-kind facet), but there is no explicit when-to-use/when-not guidance versus search_cards or list_boards. The one concrete routing instruction is external: "call GET /v1/property-types for the operator vocabulary per type."

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