Skip to main content
Glama

lookup_paper

Retrieve the full markdown reference for a C++26 WG21 paper by providing its paper identifier, including frontmatter and prose body.

Instructions

Return the full markdown reference for a C++26 paper.

Args: paper_id: WG21 paper identifier (e.g. 'P2996', 'P2900').

Returns: The contents of corpus/references/.md, including the YAML frontmatter (id, title, revision, tier, keywords, canonical_url, …) and the prose body (problem, syntax, canonical example, pre-C++26 equivalent, gotchas, related).

Raises: FileNotFoundError when the paper is unknown to the index, or known but its reference markdown has not yet been authored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paper_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so the description carries the burden. It discloses the output format (YAML frontmatter and prose body) and error conditions (FileNotFoundError for unknown/missing papers). It implies a read operation, which is appropriate.

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 concise and well-structured: a main sentence followed by Args, Returns, and Raises sections. Every sentence adds value, and the key purpose is front-loaded.

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

Completeness5/5

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

For a straightforward lookup tool with one parameter and an output schema, the description covers purpose, parameter usage, return content, and error cases. It is fully self-contained and sufficient for an agent to select and invoke the tool correctly.

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

Parameters4/5

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

The input schema has one parameter 'paper_id' with only a title. The description adds meaning by specifying it's a 'WG21 paper identifier' with examples (e.g., 'P2996'), which goes beyond the schema's type definition.

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 it returns the full markdown reference for a C++26 paper, with a specific verb and resource. It distinguishes from siblings like compiler_status and search by focusing on paper lookup.

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 description explains when to use the tool (to get a paper's reference) with an Args section for the parameter and a Raises section for errors. It does not explicitly mention alternatives or when not to use, but the context is clear.

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/parasxos/cpp26-adapter'

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