Skip to main content
Glama

get_card

Read-onlyIdempotent

Returns one field note in full by id (PC-..., DP-..., NH-...). Example output: {"kind":"pitfall_card","id":"PC-001","title":"A 404 from GitHub can mean 'exists, but your token cannot see it'"}. Arguments: id; optional format, "json" (default) or "markdown" for the note as one Markdown document (error strings, situation, cause, fix, verify, checked_on, source, link to its page). Also returns a ticket bound to that card, for report_outcome. Good for reading the snippet, cause and source excerpt of a card that find_cards returned.

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
idYesRecord id, for example PC-001, DP-0064 or NH-001.
formatNojson (default) or markdown.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / format
      Added value: +{
      +  "default": "json",
      +  "description": "json (default) or markdown.",
      +  "enum": [
      +    "json",
      +    "markdown"
      +  ],
      +  "title": "Format",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, not open-world), yet the description adds real behavioral context: the markdown variant expands into a specific field list (error strings, situation, cause, fix, verify, checked_on, source, link), and the call also returns a ticket intended for report_outcome. That side-return is non-obvious and valuable; it stops short of describing error behavior or what happens with an unknown id.

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?

Front-loaded with purpose, then id prefixes, then a worked example, then the format semantics, then the usage pointer. Every sentence carries information an agent would otherwise have to guess, and nothing repeats the schema verbatim.

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?

With no output schema, the description bears the burden of describing returns and does so with an example object plus a field list for markdown mode. The 'ticket bound to that card' is mentioned but not described, so the shape of the secondary return value remains underspecified.

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, but the description earns above that by explaining what the format enum actually changes: markdown returns the note as a single document with a named field set, while json yields the object shape shown in the example. It also reinforces the id format beyond the schema's own examples.

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+resource ('Returns one field note in full by id'), enumerates the id prefixes accepted (PC-, DP-, NH-), and shows a concrete example output object. It also distinguishes itself from find_cards by framing itself as the read-in-full follow-up to a search result.

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 positions the tool as the follow-up when a card came from find_cards and the agent wants the snippet, cause and source excerpt, and it names report_outcome as the consumer of the returned ticket. It gives clear context of use but no explicit 'do not use this when' exclusion.

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