Skip to main content
Glama

Catalunya 2022

Document structure and citation

get_document_metadata
Read-onlyIdempotent

Get the complete structure of the policy document "Catalunya 2022 - RESET: Crida per reactivar el país": 3 spheres, 12 goals, 91 actions created by a 30-expert Catalonia Task Force. Returns the hierarchy with canonical slugs for navigation via get_section, plus the formal citation with DOI.

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
titleYes
citationYes
hierarchyYes
languagesYes
structureYes
staticPagesYes
contributorsYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds useful behavioral detail: the return includes hierarchy with slugs and a formal citation with DOI. No side effects are mentioned, consistent 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?

Two sentences, each earning its place: first defines the action and scope, second details the outputs and connection to get_section. No wasted words or information.

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?

Given the output schema exists, the description need not detail return fields. The description provides enough high-level context (hierarchy, slugs, DOI) and references sibling tools for navigation. An agent can fully understand the tool's role.

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%; the locale parameter is fully documented in the schema. The description adds no additional parameter guidance, so baseline 3 is appropriate.

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 tool returns the complete structure of a specific policy document, including counts (3 spheres, 12 goals, 91 actions). It distinguishes itself from sibling 'get_section' by mentioning that canonical slugs are provided for navigation via that tool.

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 implies when to use this tool (to get full document hierarchy) versus alternatives like get_section (for navigation via slugs). It does not explicitly state exclusions, but the context is clear enough for an agent.

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.