Skip to main content
Glama

list_compilers

Read-only

List available compilers, optionally filtered by language

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": "list_compilers"
  }
}

Input 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",
      -  "sm83",
      -  "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",
      +  "hexagon",
      +  "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",
      -  "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"
      +]
  3. 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"
      +]
  4. 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, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds no behavioral context of its own: nothing about default result caps, the lean degradation, or result ordering — all of which appear 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded clause with no filler or redundancy. Every word carries information and the scope qualifier follows immediately after the core action.

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?

With 7 optional parameters and no output schema, the description covers only one filter dimension out of a much richer query surface (token matching, architecture filtering, newest-per-major selection, experimental inclusion). An agent reading only the description would miss the tool's principal discovery workflows.

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 schema already explains match, maxResults, instructionSet, latestPerMajor, and lean in detail; the baseline of 3 applies. The description only restates the language filter, adding no meaning beyond what the schema provides.

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 available compilers") plus one scoping mechanism (language filter), which is enough to separate it from siblings like compile or list_libraries. It stops short of naming any sibling or covering the tool's broader filtering role, so it is clear but not maximally distinguishing.

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 only usage signal is "optionally filtered by language"; there is no statement of when to call this instead of compile, list_languages, or list_libraries, and no exclusions. The richer when-to-use guidance ("for newest version use latestPerMajor") lives entirely in the schema, not the description.

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.