Skip to main content
Glama
cardloom-mcp

cardloom-mcp

by bangca85

Get Card

get_card

Retrieve a single knowledge card by ID to access full metadata, body, trust and status labels. Use compact mode to return only the first 600 characters.

Instructions

Read a single knowledge card by id — full metadata, body, trust, and status labels (draft -> untrusted, deprecated -> deprecated + reason, restricted -> restricted). Same content as the knowledge://card/{id} Resource (unless compact). "replacement.pending": a draft proposes to replace this card; it is still the current answer, tell the user. "replacement.superseded_by": read that card instead. The card carries "source" (repo, commit, approval date) — when a card from another project helps, tell the user which project and commit it came from. Every response carries a write_back_reminder: after using this card you MUST call report_card_usage(id, outcome). compact: true returns only the first 600 characters of the body (truncated: true when cut); call again without it for the full card.

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": {
      "id": "<id>"
    },
    "name": "get_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCard id, e.g. "pattern-use-x-pattern"
compactNoWhen true, return only the first 600 characters of the body (truncated: true when cut). Default false: the full body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so well: it decodes the status label mapping (draft -> untrusted, deprecated -> deprecated + reason, restricted -> restricted), explains replacement.pending vs replacement.superseded_by, and discloses the mandatory write_back_reminder plus the 600-char truncation with its truncated flag. The remaining gap is narrower mechanics — error behavior for an unknown id and permissions are not stated — but the behavioral profile is otherwise unusually complete.

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?

The content is dense and mostly front-loaded, starting with the core action before branching into status semantics, replacement handling, and compact behavior. It is a single long paragraph that could be split into labeled bullets for faster scanning, but almost no sentence is filler.

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?

For a read tool with two fully documented parameters, no output schema, and no annotations, the definition covers the full calling contract: what is returned, how each status/replacement state should be interpreted for the user, and the required follow-up call. Nothing an agent needs to invoke it 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 would be 3; the description earns above that by stating not just what compact does but the exact truncation length, the truncated:true signal, and the remedial action ('call again without it'). It adds operational meaning beyond the field-level schema text.

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?

The opening clause pairs a specific verb and resource with an explicit scope constraint ('Read a single knowledge card by id'), which cleanly separates it from search_knowledge or update_card_status. It also names its equivalent Resource (knowledge://card/{id}), so the agent knows exactly what surface it is hitting.

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

Usage Guidelines5/5

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

The definition routes the agent at three decision points: use compact only when a preview will do ('call again without it for the full card'), obey replacement.superseded_by by reading that card instead, and always follow up with report_card_usage(id, outcome). These are explicit when/when-not instructions tied to named alternatives rather than inference.

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