Skip to main content
Glama

Kildeverk

Smilefjes food inspections

food_inspections
Read-onlyIdempotent

Mattilsynet's smilefjes inspections of restaurants, cafés, bakeries and other places serving food since 2016, by the owner's organisation number, the place's name, postcode or town: each place with its latest inspections, the overall grade and smiley, and the grades for its four themes. Latest inspected first.

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": "food_inspections"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWords in the place's name.
townNoPostal town (poststed), e.g. 'Bergen'.
limitNoPlaces to return.
postcodeNo
org_numberNoThe owner's organisation number. A company's own number also finds the places run by its establishments (sub-units).
inspectionsNoInspections per place, latest first.
worst_gradeNoOnly places whose latest inspection has this grade or worse: 2 for a straight mouth or sad, 3 for sad.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: the data starts in 2016, results are places (not raw inspections) each carrying their latest inspections, and ordering is 'latest inspected first'. It does not cover pagination or what a sparse/empty result looks like.

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?

A single sentence, front-loaded with the resource and its data source, then the lookup keys, then the return shape, then ordering. No filler, and the colon structure keeps the three pieces of information distinct.

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 no output schema, the description usefully summarizes the return payload (places, latest inspections, overall grade/smiley, four theme grades) and sort order. The one real gap is that with zero required parameters it never says whether an unfiltered call is valid or what default result set to expect.

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 86%, so the schema already explains name, town, limit, inspections, org_number and worst_grade. The description only restates the filter set and return ordering, adding no format, default, or combination semantics beyond the structured fields. Baseline 3 is appropriate when the schema carries this much weight.

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 names a specific resource (Mattilsynet's smilefjes inspections of restaurants, cafés, bakeries and other food-serving places) and the exact facets it can be looked up by (owner's organisation number, name, postcode, town). It also states what comes back: each place with its latest inspections, overall grade and smiley, and grades for four themes. No sibling covers food inspections, so there is nothing to confuse it with.

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 phrasing 'by the owner's organisation number, the place's name, postcode or town' implies these are the available lookup routes, which is useful orientation. However, it never states when to prefer one filter over another, whether filters combine, or what happens if the tool is called with no arguments at all (all parameters are optional).

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.