Skip to main content
Glama
Malkovsky

ce-analyzer-mcp

by Malkovsky

analyze_cpp

Read-onlyIdempotent

Run up to four Compiler Explorer analyzers in a single compile-only request, returning normalized bounded output per analyzer with overall failure status and static-modeling caveats.

Instructions

Run up to four selected Compiler Explorer analyzers in one compile-only request and return normalized bounded per-tool output with aggregate failure status and static-modeling caveats. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNo
sourceYes
windowNo
filtersNo
compilerNoclang-latest
analyzersYes
librariesNo
compiler_argumentsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
compilerYes
warningsNo
analyzersYes
cache_hitNo
exit_codeYes
timed_outYes
diagnosticsYes
fingerprintYes
cache_eligibleNo
backend_truncatedNo
response_truncatedNo
Behavior4/5

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

Annotations already cover read-only, open-world, idempotent, and non-destructive behavior. The description adds valuable context: output is bounded, failure status is aggregated, static-modeling caveats exist, and assembly differences are not performance measurements. This goes beyond the schema and annotations, though it doesn't detail all edge cases.

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 dense sentences pack the core purpose, constraints, and caveats without redundancy. The first sentence is front-loaded with the action and resource, and the second adds necessary context about transmission and a performance warning.

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

Completeness3/5

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

Given the tool's complexity (8 parameters, including nested objects) and 0% schema coverage, the description is not fully complete. It covers the high-level functionality and key constraints, but does not guide parameter usage or reference sibling tools like search_analyzers for discovering analyzers. An output schema exists, so return details are not required, but parameter guidance is still lacking.

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 carries the full burden. It clarifies 'source' and 'files' (source and virtual files) and adds the critical 'up to four' constraint for analyzers, but it does not explain compiler, filters, window, libraries, compiler_arguments, or how to construct analyzer selections. Most parameters remain undocumented.

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 explicitly states the tool runs up to four selected Compiler Explorer analyzers in a single compile-only request, immediately distinguishing it from compile_cpp and compare_cpp. It also specifies the output format (normalized bounded per-tool output with aggregate failure status).

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?

The phrase 'compile-only request' provides clear context that this tool is for static analysis rather than execution, and the mention of 'selected analyzers' implies prior selection (likely via search_analyzers). However, it does not explicitly name alternatives or state when not to use the tool.

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

Install Server

Other Tools

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/Malkovsky/compiler-explorer-mcp'

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