Skip to main content
Glama
orjahren

Nettskjema MCP Server

by orjahren

get_form_definition

Read-only

Retrieve a Nettskjema form's element structure and creation history, including its elements array and authorship metadata.

Instructions

Get the form's structure and creation history: the elements array and authorship metadata.

Input Schema

NameRequiredDescriptionDefault
form_idYesThe form's numeric ID.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

readOnlyHint=true already establishes this is a safe read operation, so the description carries a lighter burden. However, it adds no behavioral context beyond annotations — no indication of whether it reflects the latest form version, whether history is complete, or any access restrictions. Describing the return payload adds little since an output schema already exists.

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?

A single efficient sentence that front-loads the core purpose and then enumerates the payload. No filler or redundancy, though it is terse to the point of omitting routing guidance.

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 one-parameter read-only tool with full schema coverage and an output schema, the description is minimally sufficient — return values need not be explained. The gap is the failure to distinguish this tool from the many overlapping form-retrieval siblings.

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% and there is a single parameter (form_id) documented as 'The form's numeric ID.' The description adds no semantics beyond the schema, so the baseline of 3 for high coverage applies.

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 names a specific verb ('Get') and the resource content ('the form's structure and creation history'), specifying the elements array and authorship metadata as the payload. It is clear what the tool returns, but it does not distinguish itself from close siblings like get_form_elements or get_form_info, which appear to overlap heavily.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool rather than get_form_elements, get_form_info, or get_form_settings, all of which are plausible alternatives for retrieving form data. The agent must infer the distinction from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.