Skip to main content
Glama

school_stats

Statistics for schools in mainland Portugal (InfoEscolas, Ministry of Education).

Args: school: part of a school's name ("Pedro Nunes", "Marquês de Pombal") or its DGEEC code. municipality: list that municipality's schools (e.g. "Braga"). level: "1ciclo", "2ciclo", "3ciclo", "secundario" (science-humanities, default) or "profissional" (vocational). Each school has its students, retention or dropout rate per grade, the share finishing the cycle on time next to the national figure for students with a similar profile, and (3rd cycle) direct-success paths. The national totals come with every answer.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "school_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNosecundario
limitNo
schoolNo
municipalityNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose useful content behavior: per-grade retention/dropout rates, on-time completion compared to a national figure, and direct-success paths for the 3rd cycle. However, it says nothing about empty-result behavior, matching rules for partial school names, or how the default limit interacts with results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence and the Args block is a compact, scannable way to supply parameter meaning that the schema lacks. There is minor redundancy in restating return contents that the output schema already covers.

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

Completeness3/5

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

For a four-parameter, filter-style tool with an output schema, the definition covers the data domain and level options well, but leaves the limit parameter and the school-vs-municipality interaction undefined. An agent could call it, but might mis-specify the result count.

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 0%, so the description must compensate, and it does for three of four parameters (school accepts a partial name or DGEEC code, municipality filters by concelho, level enumerates its values). The `limit` parameter is never mentioned, and the precedence between school and municipality is left unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: statistics for schools in mainland Portugal, sourced from InfoEscolas/Ministry of Education. That is clearly distinct from siblings such as municipality or ine_indicator. It stops short of naming an alternative tool, so it does not reach a 5.

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?

Usage is only implied through the Args block: pass a school name/code, or a municipality to list its schools, with a level selector. There is no explicit statement of when to prefer this over sibling tools, and no guidance on what happens if both school and municipality are supplied.

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.