Skip to main content
Glama

Catalunya 2022

Read a section

get_section
Read-onlyIdempotent

Retrieve the full text of any section of the Catalunya 2022 document by its canonical slug. Slugs follow the pattern: 'sphere-1', 'sphere-1/goal-2', 'sphere-1/goal-2/action-2-1'. Static pages: 'introduction', 'executive-summary', 'train-of-prosperity'. Use get_document_metadata to discover all available slugs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesCanonical section slug
localeNoContent language. Defaults to 'ca' (Catalan), the original language of the document. (ca=Catalan, en=English, es=Spanish)ca

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the agent knows it is a safe read. The description adds valuable context by explaining the slug pattern and static pages, which helps the agent understand the tool's input constraints. It does not describe error handling, but the annotation coverage lowers the burden, and the description contributes meaningful beyond-annotation information.

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 four sentences, each earning its place: purpose, slug pattern, static pages, and a pointer to metadata. It is front-loaded with the primary action and contains no filler or redundancy.

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?

With two parameters, no output schema, and a simple read operation, the description covers the essential aspects: what it retrieves, how to format the slug, and where to get valid slugs. It could optionally mention the return format (e.g., plain text vs. markdown), but given the tool's simplicity and annotation coverage, it is sufficiently complete.

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 baseline is 3. Both parameters (slug and locale) are fully described in the schema, including pattern, enum, and default. The description provides concrete slug examples, but these are illustrative rather than adding new semantic meaning not already in the schema. Therefore, it meets the baseline but does not exceed it.

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 starts with a specific verb and resource: 'Retrieve the full text of any section of the Catalunya 2022 document by its canonical slug.' It clearly differentiates from siblings by focusing on full-text retrieval by slug, and it mentions the sibling get_document_metadata for discovering slugs, setting it apart.

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?

It explicitly directs users to 'Use get_document_metadata to discover all available slugs,' which serves as a when-to-use pointer for a sibling tool. While it does not directly compare with search_document or list_proposals, the tool's narrow purpose makes usage clear. There is no misleading guidance.

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.6/5.0
Disambiguation5/5

Each tool has a distinct purpose: metadata retrieval, section text retrieval, listing proposals, and searching. There is no overlap; get_document_metadata and get_section serve complementary roles, and list_proposals and search_document provide alternative discovery methods.

Naming Consistency5/5

All tool names consistently use the verb_noun pattern (get_document_metadata, get_section, list_proposals, search_document). The pattern is uniform and predictable across all four tools.

Tool Count5/5

With 4 tools, the set is concise yet complete for navigating a hierarchical policy document. Each tool earns its place by covering distinct operations (browse metadata, read sections, list proposals, search), avoiding bloat while providing essential functionality.

Completeness5/5

The tool set fully covers the needed operations for this single-document server: discover structure (get_document_metadata), read content (get_section), browse proposals (list_proposals), and search (search_document). No obvious gaps exist for the stated domain of accessing the Catalunya 2022 policy document.