Skip to main content
Glama
Hydrata

Hydrata MCP Server

Official
by Hydrata

Save a project's default comparison tolerance

set_comparison_tolerance
Idempotent

Configure the project-wide default tolerance (in metres) for comparing runs with flood observations, applied to future comparisons unless overridden.

Instructions

Save a project's default tolerance for comparing runs with flood observations.

Needs Editor (or above). Every later get_observation_comparison (and the map's Compare with observations tab) uses it unless a tolerance is passed. Only save it when the user asks to change the project's default; to show the figures at another tolerance, pass tolerance to get_observation_comparison.

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project ID
tolerance_mYesThe project's default tolerance in metres (above 0 and at most 5; presets 0.15, 0.3, 0.4)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent write, but the description adds genuinely new behavioral context: the Editor-or-above permission requirement and the persistent downstream effect on every later get_observation_comparison call and the map's Compare with observations tab. It doesn't discuss overwrite semantics or validation failure behavior, keeping it short of a 5.

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?

Three short sentences, front-loaded with the action, then prerequisites, then the routing rule. Every sentence earns its place with no redundancy.

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

Completeness5/5

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

An output schema exists, so return values need no explanation, and the description covers purpose, permissions, persistence effect, and alternative routing. Nothing an agent needs to invoke this correctly is missing.

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%, with both parameters (project_id, tolerance_m) fully documented including the metres range and presets, so the schema carries the load. The description adds no parameter-level detail beyond what the schema provides, so baseline 3 is appropriate.

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?

States a specific verb (save/set) and resource (project's default comparison tolerance for comparing runs with flood observations), and explicitly distinguishes it from get_observation_comparison, which reads figures rather than persisting a default. An agent can tell exactly what this does without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when ('only save it when the user asks to change the project's default') and when-not, plus the alternative ('to show the figures at another tolerance, pass `tolerance` to get_observation_comparison'). Nothing is left to inference.

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