Skip to main content
Glama

list_compilers

Read-only

List available compilers, optionally filtered by language

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leanNoForce id+name only, regardless of count. Useful to browse the catalog before drilling in.
matchNoCase-insensitive AND-of-tokens filter on id and name. Punctuation splits tokens; numeric tokens match whole-word ("gcc 14.1" matches "14.1.0" not "14.10"); alphanumeric tokens substring-match ("g14" matches "g142"). Literal text only — for "newest version" use `latestPerMajor`; for "newest X on arch Y" prefer `instructionSet` + `latestPerMajor`.
languageNoLanguage ID to filter by (e.g. "c++", "rust", "python")
maxResultsNoCap full-detail entries (default 25). Beyond the cap, degrades to lean (id+name only) with a refinement hint.
instructionSetNoTarget architecture filter. Combine with `latestPerMajor: true` for "newest X for arch Y" (e.g. `{language:"c++", instructionSet:"amd64", latestPerMajor:true}`).
latestPerMajorNo"Newest X" filter. By release track (stable/nightly/prerelease/experimental): newest stable per (language, instructionSet, semver major); all nightly + prerelease; experimental skipped unless `includeExperimental: true`.
includeExperimentalNoWith `latestPerMajor: true`, also include experimental compilers (c++ proposal forks, llvm-mos platform variants). Off by default — bloats "newest X" answers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / instructionSet / enum
      Previous value: -[
      -  "6502",
      -  "aarch64",
      -  "amd64",
      -  "x86",
      -  "arm32",
      -  "avr",
      -  "beam",
      -  "c6x",
      -  "dex",
      -  "ebpf",
      -  "evm",
      -  "eravm",
      -  "ez80",
      -  "hook",
      -  "hppa",
      -  "core",
      -  "java",
      -  "kvx",
      -  "llvm",
      -  "loongarch",
      -  "m68k",
      -  "mips",
      -  "mos6502",
      -  "mpy",
      -  "mrisc32",
      -  "msp430",
      -  "perl",
      -  "powerpc",
      -  "ptx",
      -  "python",
      -  "amd_cdna1",
      -  "amd_cdna2",
      -  "amd_cdna3",
      -  "amd_cdna4",
      -  "amd_cdna5",
      -  "amd_rdna1",
      -  "amd_rdna2",
      -  "amd_rdna3",
      -  "amd_rdna3_5",
      -  "amd_rdna4",
      -  "riscv32",
      -  "riscv64",
      -  "s390x",
      -  "sass",
      -  "sh",
      -  "sparc",
      -  "spirv",
      -  "vax",
      -  "wasm32",
      -  "wasm64",
      -  "wdc65c816",
      -  "xtensa",
      -  "z180",
      -  "z80"
      -]New value: +[
      +  "6502",
      +  "aarch64",
      +  "amd64",
      +  "x86",
      +  "arm32",
      +  "avr",
      +  "beam",
      +  "c6x",
      +  "dex",
      +  "ebpf",
      +  "evm",
      +  "eravm",
      +  "ez80",
      +  "hook",
      +  "hppa",
      +  "core",
      +  "java",
      +  "kvx",
      +  "llvm",
      +  "loongarch",
      +  "m68k",
      +  "mips",
      +  "mos6502",
      +  "mpy",
      +  "mrisc32",
      +  "msp430",
      +  "perl",
      +  "powerpc",
      +  "ptx",
      +  "python",
      +  "amd_cdna1",
      +  "amd_cdna2",
      +  "amd_cdna3",
      +  "amd_cdna4",
      +  "amd_cdna5",
      +  "amd_rdna1",
      +  "amd_rdna2",
      +  "amd_rdna3",
      +  "amd_rdna3_5",
      +  "amd_rdna4",
      +  "riscv32",
      +  "riscv64",
      +  "s390x",
      +  "sass",
      +  "sh",
      +  "sm83",
      +  "sparc",
      +  "spirv",
      +  "vax",
      +  "wasm32",
      +  "wasm64",
      +  "wdc65c816",
      +  "xtensa",
      +  "z180",
      +  "z80"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / instructionSet / enum
      Previous value: -[
      -  "6502",
      -  "aarch64",
      -  "amd64",
      -  "x86",
      -  "arm32",
      -  "avr",
      -  "beam",
      -  "c6x",
      -  "dex",
      -  "ebpf",
      -  "evm",
      -  "eravm",
      -  "ez80",
      -  "hook",
      -  "hppa",
      -  "core",
      -  "java",
      -  "kvx",
      -  "llvm",
      -  "loongarch",
      -  "m68k",
      -  "mips",
      -  "mos6502",
      -  "mpy",
      -  "mrisc32",
      -  "msp430",
      -  "perl",
      -  "powerpc",
      -  "ptx",
      -  "python",
      -  "riscv32",
      -  "riscv64",
      -  "s390x",
      -  "sass",
      -  "sh",
      -  "sparc",
      -  "spirv",
      -  "vax",
      -  "wasm32",
      -  "wasm64",
      -  "wdc65c816",
      -  "xtensa",
      -  "z180",
      -  "z80"
      -]New value: +[
      +  "6502",
      +  "aarch64",
      +  "amd64",
      +  "x86",
      +  "arm32",
      +  "avr",
      +  "beam",
      +  "c6x",
      +  "dex",
      +  "ebpf",
      +  "evm",
      +  "eravm",
      +  "ez80",
      +  "hook",
      +  "hppa",
      +  "core",
      +  "java",
      +  "kvx",
      +  "llvm",
      +  "loongarch",
      +  "m68k",
      +  "mips",
      +  "mos6502",
      +  "mpy",
      +  "mrisc32",
      +  "msp430",
      +  "perl",
      +  "powerpc",
      +  "ptx",
      +  "python",
      +  "amd_cdna1",
      +  "amd_cdna2",
      +  "amd_cdna3",
      +  "amd_cdna4",
      +  "amd_cdna5",
      +  "amd_rdna1",
      +  "amd_rdna2",
      +  "amd_rdna3",
      +  "amd_rdna3_5",
      +  "amd_rdna4",
      +  "riscv32",
      +  "riscv64",
      +  "s390x",
      +  "sass",
      +  "sh",
      +  "sparc",
      +  "spirv",
      +  "vax",
      +  "wasm32",
      +  "wasm64",
      +  "wdc65c816",
      +  "xtensa",
      +  "z180",
      +  "z80"
      +]
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds nothing beyond that: it does not mention the default maxResults cap of 25, the degradation to lean results beyond the cap, or any pagination/ordering behavior — all of which live only in the schema.

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?

A single front-loaded sentence with no filler. It is efficient, though for a tool with seven filter parameters and several unusual semantics, the extreme brevity borders on under-specification rather than tight writing.

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?

The rich schema and existing annotations carry most of the burden, and no output schema exists so return values needn't be described. Still, for a catalog-listing tool with complex filtering semantics and adjacent sibling list tools, the description leaves the agent without any routing or behavior context.

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 100%, so the seven parameters (including the non-obvious match token semantics, latestPerMajor, and includeExperimental interactions) are fully documented in the schema. The description only restates the language filter, adding no meaning beyond structured data; baseline 3 applies.

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+resource ("List available compilers") and mentions the optional language filter, so the agent knows what the tool returns. It does not, however, distinguish itself from siblings list_languages or list_libraries, which an agent could plausibly confuse it with.

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?

The phrase "optionally filtered by language" implies one usage path but gives no guidance on when to reach for this tool versus list_languages/list_libraries/compile, nor when to use the advanced filters (match, latestPerMajor, lean) that the schema defines. No exclusions or prerequisites are stated.

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.