Skip to main content
Glama
orjahren

Nettskjema MCP Server

by orjahren

get_form_settings_validation

Read-only

Retrieve validation errors and constraints for a Nettskjema form's settings using its numeric form ID. Diagnose configuration issues before publishing or data collection.

Instructions

Get validation errors or constraints for the form's settings.

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.7/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, and an output schema exists, so the bar for additional context is low. The description nonetheless adds nothing behavioral — no note on whether it validates on demand or reports stored results, and no scope/side-effect detail beyond the annotation.

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 front-loaded sentence with no wasted padding. The only flaw is the imprecise 'errors or constraints' disjunction, which is a precision issue rather than verbosity.

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?

With readOnlyHint set and an output schema present, the return values need not be described, so the definition is minimally workable. What is missing is sibling differentiation and a clear statement of what 'validation' means here, leaving the tool under-explained relative to the crowded form-settings toolset.

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?

There is a single parameter with 100% schema description coverage ('The form's numeric ID'), so the schema does the documentation work. The description contributes no extra parameter meaning, which is the expected baseline at high coverage.

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

Purpose3/5

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

The verb+resource ('get ... form's settings validation') is identifiable, but the description hedges with 'validation errors OR constraints,' which leaves the actual return semantics ambiguous. It also does not distinguish itself from closely-named siblings like get_form_settings or get_form_definition, so an agent cannot confidently pick it over them from the text alone.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as get_form_settings or update_form_settings, despite four sibling tools operating on the same 'form settings' resource. The agent is left to infer when this tool applies versus its neighbors.

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