Skip to main content
Glama

get_cards_by_theme

Retrieve card slugs matching a conversational theme such as conflict, transition, or burnout. Uses locally stored metadata, so no API call is required.

Instructions

Look up a list of card slugs that match a specific conversational theme. Uses locally stored metadata - no API call required. Themes include: conflict, transition, identity, growth, burnout, leadership, and 30+ more.

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": {
      "theme": "<theme>"
    },
    "name": "get_cards_by_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeYesThe conversational theme (e.g. 'conflict', 'transition', 'leadership', 'burnout')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

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 behavioral burden and does add real context: it discloses that the lookup is served from locally stored metadata with no API call required, and that the return value is slugs rather than full card objects. It omits edge behavior such as what happens for an unrecognized theme or case-sensitivity.

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 short sentences, front-loaded with what the tool returns, followed by the operational trait and the valid-values hint. No filler or repetition.

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 single-parameter local lookup with no output schema, the description covers purpose, data source, return type, and example values. Only failure behavior for invalid themes and cross-reference to get_available_themes are 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 already 100% with an example, but the description adds meaning beyond it by enumerating seven concrete theme values and indicating a large additional set ('30+ more'), which tells the agent the parameter is an open taxonomy rather than a closed enum.

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: returns a list of card slugs filtered by conversational theme. It is distinguishable from siblings in practice (get_all_cards is unfiltered, get_card_by_slug returns one card), but it never names an alternative to confirm that distinction explicitly.

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 the resource phrasing rather than stated: an agent can infer 'use when you need cards for a theme,' but there is no when-not guidance and no pointer to get_available_themes for discovering the full theme set, despite mentioning '30+ more' themes.

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