Skip to main content
Glama

Kildeverk

Pupil Survey results (Elevundersøkelsen, Udir)

school_survey
Read-onlyIdempotent

Results from Udir's Pupil Survey (Elevundersøkelsen) for the country, counties, municipalities and each school: the share of pupils bullied (mobbing), indicator scores 1-5 (trivsel, støtte fra lærer, motivasjon, …) or participation, by grade, sex and school year (the last five). Give schools_in a municipality to list its schools beside it; results from small groups are hidden by Udir.

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_survey"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNo'primary': grunnskole, grades 5-10. 'secondary': videregående.primary
gradesNoGrades: ['9'] (primary 5-10, secondary 1-3). Default: each.
placesNoCountry, counties, municipalities or schools by name or number: ['Hele landet', 'Nordland', 'Bodø', '1804'].
reportNo'bullying' (share bullied), 'indicators' (scores 1-5: trivsel, støtte fra lærer …) or 'participation'.bullying
selectNoOther dimensions by key, values by code or name: {'KjoennID': ['J']}, {'SpoersmaalID': ['Trivsel']}. Default: 'Alle', and the indices for questions.
schools_inNoA municipality whose schools are each listed too, e.g. 'Bodø'.
school_yearsNoE.g. ['2025-26', '2024-25']. Default: the latest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the description adds real value beyond them: it discloses that Udir suppresses results for small groups and that only the last five school years are available. Those caveats materially change how an agent should interpret empty or missing rows, which annotations cannot convey.

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 data scope is front-loaded, then breakdowns, then the schools_in hint and the suppression caveat, all in two compact sentences with no filler. The parenthetical jargon is dense but each clause carries information an agent needs.

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 7-parameter tool with a nested select object and no output schema, the description covers scope, defaults, the suppression rule and the five-year window well. It stops short of explaining the shape of the returned rows or how question indices in select behave, which leaves a small gap for a fairly complex query tool.

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 every parameter is already documented, and much of the description's parameter talk (report values, schools_in example, latest-year default) echoes it. It does add domain gloss — translating indicators into trivsel/støtte fra lærer and showing select keys like 'KjoennID' — which is useful but marginal against an already complete schema.

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?

Names the specific dataset (Udir's Elevundersøkelsen) and enumerates the measures it returns (bullying share, 1-5 indicators, participation) with the breakdowns by grade, sex and school year. It is far more specific than a title restatement, though it never names a sibling tool it replaces (e.g. compare_municipalities) to sharpen the boundary.

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?

The closing clause gives one concrete usage pattern — pass schools_in a municipality to get its schools listed alongside — which is genuine when-to-use guidance. It offers no guidance on choosing between report modes, no prerequisites, and no exclusions relative to sibling data tools; usage for the other six parameters is only implied.

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.