Skip to main content
Glama

get

Fetch a single code finding by ID to get its full details: description, severity, status, tags, timestamps, and commit refs. Resolves the card's current code location unless disabled.

Instructions

Fetch a single finding by ID with full body (description, severity, status, tags, meta, timestamps, commit refs).

The result carries an anchor summary saying where this card's code is NOW: state tells a card with no anchor apart from one whose anchor was retracted by hand and from one where capture looked and had nothing to grab, and loc_status/moved_file/path report the resolution against HEAD when it ran.

Raises a not-found error if the ID does not exist. For lenient batch lookup that silently drops missing IDs, use query(ids=[...]).

Args:

  • finding_id: The finding ID (e.g. CB-1383)

  • resolve_anchors: Resolve the anchor against the repository (default ON — the cost is bounded by one card). Pass False for a read that must not spawn a process: no git available, no repository, or a caller that only wants to know whether an anchor exists at all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
finding_idYes
resolve_anchorsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.2

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so thoroughly. It discloses the not-found error behavior, the nuanced `anchor` summary semantics (no anchor vs. retracted vs. nothing to grab), the bounded cost of anchor resolution, and that setting `resolve_anchors=False` avoids spawning a process. This goes well beyond a basic 'get' description.

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 most important content is front-loaded with the single-finding fetch, and the Args section is clearly structured. The anchor-semantics paragraph is dense and slightly convoluted ('apart from one whose anchor was retracted by hand and from one where capture looked and had nothing to grab'), but every section earns its place in a tool with this behavioral nuance.

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?

Given a 2-parameter tool with an output schema, the description covers everything an agent needs to invoke it correctly: what it returns, how anchor resolution behaves, when it errors, how to avoid errors through the batch alternative, and when to disable process-spawning resolution. There are no meaningful gaps.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate—and it does. `finding_id` gets a concrete example (CB-1383), and `resolve_anchors` is explained with its default behavior, performance bound, and the exact conditions under which a caller should pass False. Both parameters gain meaning far beyond the bare schema definitions.

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 description opens with a precise verb and resource: 'Fetch a single finding by ID with full body' and enumerates the returned fields (description, severity, status, tags, meta, timestamps, commit refs). It further distinguishes itself from the lenient batch sibling by explicitly directing users to `query(ids=[...])`, so an agent can select it correctly without opening schemas.

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 description gives explicit when-to-use guidance: use `get` for a single strict lookup that errors on missing IDs, and use `query(ids=[...])` for lenient batch lookup. It also provides concrete conditions for passing `resolve_anchors=False` (no git, no repository, or only anchor-existence needs), making the decision boundary clear.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/faxik/codebugs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server