Skip to main content
Glama

clangd_workspace_symbols

Read-only

Search C++ workspace symbols by name query. Empty configurations select all.

Instructions

Find workspace symbols by name query. Empty configurations selects all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
timeoutNo
configurationsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds no behavioral context beyond that: no scope of search, no return shape, no cost/rate behavior. The 'empty configurations' line describes a parameter rather than a trait.

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?

Two short sentences with no filler; the core action is front-loaded. The second sentence is tersely worded ('Empty configurations selects all') but earns its place by clarifying a default.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. However, with zero schema-description coverage, no usage guidance, and only one of three parameters clarified, the definition is too thin for an agent to invoke confidently.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It explains only that empty configurations selects all, leaving the required 'query' semantics and the 'timeout' parameter undocumented anywhere. That is well short of compensating for a 3-param, zero-coverage schema.

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: 'Find workspace symbols by name query.' The scope ('workspace symbols' vs the sibling 'document_symbols') is implicit in the name, so an agent can mostly distinguish it, but the description does not explicitly differentiate from clangd_document_symbols.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no named alternative among the many clangd_* siblings. The only contextual hint is the configurations behavior, which is a parameter detail, not usage routing.

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