Skip to main content
Glama

get_compounds

List Doxygen compounds with optional kind filtering, returning structured JSON for querying documentation.

Instructions

List Doxygen compounds as {"compounds": [{refid, kind, name}]}, optionally filtered by kind. Errors are returned as {"error": ...}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_compounds"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the success payload shape and the error contract ({'error': ...}), which is real value. It leaves undisclosed whether the list is complete or paginated, how results are ordered, and what refid is for (presumably feeding the extract_* tools).

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?

Two short sentences, front-loaded with the resource and return shape, with the optional filter and error contract appended. Nothing is wasted.

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?

A one-parameter read tool with no output schema, and the description compensates by documenting the return and error shapes itself. The only substantial omission relative to the tool's simplicity is the set of valid kind values.

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

Parameters3/5

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

Schema description coverage is 0% for the single 'kind' parameter, and the description only tells us it is an optional filter. It never enumerates the admissible kind values (class, file, namespace, page, dir, struct), which is exactly the gap only the description could fill.

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 ('List Doxygen compounds') and even sketches the returned object shape ({refid, kind, name}). It doesn't explicitly contrast itself with the extract_* siblings, but the list-vs-extract distinction is readable from the description itself.

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?

'optionally filtered by kind' implies the filter use case, and 'List' implies discovery rather than extraction, but there is no explicit when-to-use, when-not-to-use, or pointer to extract_class/extract_file for drill-down.

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