Skip to main content
Glama

Search Cards

search_cards
Read-onlyIdempotent

Find cards by text. Every word of the query must appear, in any order and any case, in a card's title, text or URL, or a GitHub issue's number or labels. Covers active, snoozed and finished cards (completed reminders, watched learnings, closed issues), newest first. Use get_card to read one result in full.

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": {
      "query": "<query>"
    },
    "name": "search_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax cards to return (default 10, max 50).
queryYesWords to look for, e.g. "dentist" or "react hooks".
typesNoOnly search these card types. Omit to search all.
cursorNoPagination cursor from a previous call's next_cursor.

Output Schema

NameRequiredDescriptionDefault
cardsYes
totalYesHow many cards match in all.
next_cursorYesPass as cursor to get the next page; null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered; the description adds genuinely new behavioral facts: the AND-style matching across multiple fields, inclusion of completed reminders/watched learnings/closed issues, and newest-first ordering. It does not state a result cap in prose, though the schema's limit covers that.

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?

Three tight sentences, front-loaded with the core action, then matching rules, then scope and ordering, then the hand-off hint. Every sentence carries distinct information with no repetition of the schema.

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?

With an output schema present, return shape need not be described; ordering (newest first) and the cursor-based continuation are addressed, and the inclusion of non-active card states is a non-obvious detail an agent would otherwise get wrong. Nothing essential to calling this tool correctly is missing.

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 coverage is 100%, so the baseline is 3; the description earns above baseline by explaining the semantics of the query parameter (all words must appear, in any order and any case, across specific fields) rather than just restating an example. The other parameters, including cursor pagination and the types filter, are left entirely to the schema.

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?

"Find cards by text" gives a specific verb and resource, and the following sentence defines exactly what matching means (every word, any order, any case, across title/text/URL and GitHub issue number/labels). It is clearly separable from get_card, which is named as the single-record counterpart.

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?

It routes the agent onward with "Use get_card to read one result in full" and states the search scope (active, snoozed and finished cards), so the agent knows what this tool reaches and what the follow-up step is. It stops short of saying when search is a poor choice (e.g. when an ID is already known), so it is not fully exclusive.

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.