Skip to main content
Glama

get_shortlink_info

Read-only

Retrieve source and compiler config from a CE short URL. Compiler entries are returned in the compile tool's shape ({compiler, options, libraries:[{id, version}]}). Multi-pane shortlinks (executors, conformance views, CMake trees, per-compiler filters/tools) are flattened — only the basic compile inputs survive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesShort link ID or full URL (e.g. "G38YP7eW4" or "https://godbolt.org/z/G38YP7eW4")

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark the tool as read-only (readOnlyHint=true). The description adds valuable behavioral details beyond annotations: it specifies the output shape (matching 'compile' tool's structure) and the flattening of multi-pane shortlinks. This informs the agent of what data survives and how results are returned. No contradictions with annotations.

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?

The description is two sentences and 44 words, with no superfluous information. The primary action is stated first, followed by important details about output shape and flattening behavior. Every sentence adds value, making it highly efficient.

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?

Given the tool's simplicity (one parameter, no output schema, annotations present), the description covers the essential aspects: purpose, output structure, and a notable behavioral nuance (flattening). It does not address error handling or missing shortlinks, but the context is sufficient for basic usage. Sibling tools are listed externally, so no need to reference them here.

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 coverage is 100% with a clear parameter description ('Short link ID or full URL'). The tool description restates the parameter's purpose in context ('Retrieve source and compiler config from a CE short URL') but adds no new semantic meaning beyond the schema. Baseline score of 3 is appropriate as the schema already conveys the necessary information.

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 clearly states the verb 'Retrieve' and the resource 'source and compiler config from a CE short URL'. It is specific and distinguishable from sibling tools like 'compile' (which compiles code) and 'generate_short_url' (which creates shortlinks). The output shape is also explicitly described, leaving no ambiguity about the tool's function.

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?

The description implicitly advises that multi-pane shortlinks are flattened, hinting that the tool may not be suitable for recovering full multi-pane structures. However, it does not explicitly state when to use this tool versus alternatives (e.g., 'compile' for actual compilation, or 'list_compilers' for compiler discovery). No direct comparison or exclusion criteria are provided.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: compiling code, sharing via short URLs, retrieving sharing info, listing compilers, languages, libraries, and looking up assembly instructions. No two tools overlap in functionality.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case (e.g., list_compilers, generate_short_url, lookup_asm_instruction). The naming is uniform and predictable.

Tool Count5/5

With 7 tools, the server is well-scoped for its purpose. It covers core compilation, sharing, metadata exploration, and instruction documentation without being too sparse or bloated.

Completeness4/5

The tool set covers the primary workflow (compile, share, browse metadata) and includes a unique instruction lookup. A minor gap is the lack of detailed compiler information beyond listing, but this does not significantly hinder the agent's ability to use the server effectively.