Skip to main content
Glama
xavimf87

mcp-govern

by xavimf87

bcn_obtenir_dades

Retrieve data records from a specific Barcelona dataset resource using its resource ID, with optional text query, limit, and offset parameters.

Instructions

Obté dades d'un recurs concret de Barcelona via l'API datastore.

Primer usa bcn_detall_dataset per obtenir els resource_id disponibles, després aquesta tool per consultar les dades reals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNombre de resultats (per defecte 20)
queryNoText lliure per filtrar les dades
offsetNoOffset per paginació
resource_idYesID del recurs (obtingut via bcn_detall_dataset)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose that the tool is read-only, nor does it mention rate limits, pagination behavior beyond offset, or potential large result sets. Minimal behavioral context is given.

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 clear, front-loaded sentences with no extraneous information. Every sentence serves a purpose: stating the function and providing usage flow.

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?

For a simple data retrieval tool with output schema available, the description is adequate. It covers purpose and prerequisite. Could be more complete by mentioning data format or limits, but output schema mitigates this.

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%, so baseline 3. The description adds value by explaining resource_id as obtained from bcn_detall_dataset, but does not enhance semantics for limit, query, or offset beyond what the schema provides.

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 'Obté dades' and the resource 'un recurs concret de Barcelona'. It distinguishes from siblings by specifying the prerequisite step using bcn_detall_dataset, which sets it apart from search and detail tools.

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 provides explicit guidance: first use bcn_detall_dataset to get resource_id, then this tool. It implies when not to use (without resource_id) but does not explicitly state alternatives or exclusions.

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/xavimf87/mcp-govern'

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