Skip to main content
Glama

Schema för ändringar

get_action_schema
Read-onlyIdempotent

The schema of propose_changes.changes, for clients that show it as a list of unknown. Without type: every change type this account may use, grouped by area, with the per-proposal limits and notes (as ritabygget://schema/change-set). With type: that change type's JSON Schema (fields, enums, bounds), its area and its rule (description, allowed values, example), plus relatedRules from the executable catalog. Prefer this focused view for one action; read ritabygget://rules when cross-action policy inspection is needed.

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

Input Schema

NameRequiredDescriptionDefault
typeNoOptional change type, e.g. shed.opening.add. Without it the result lists the types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds context annotations cannot: the returned shape, that facts are served as ritabygget://schema/change-set, and that relatedRules come from the executable catalog. It does not discuss response size or truncation for the full list, which keeps 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the two modes are laid out in parallel, so an agent can stop reading once it has what it needs. The opening clause about clients showing a list of unknown is aimed at implementers rather than the calling agent, but it is short and the rest carries no filler.

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?

There is no output schema, so the description must carry the return contract, and it does: both branches, the fields per change type, area, rule contents and relatedRules. For a one-parameter read tool this leaves nothing an agent needs missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single optional parameter is documented there, so the baseline is 3. The description earns more by explaining the branch semantics — omitting type yields the grouped catalogue, supplying it yields that type's JSON Schema, area and rule — which is meaning the schema alone does not convey.

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 — the schema of propose_changes.changes — and states exactly what it produces in each mode (a grouped list of change types, or one type's JSON Schema with fields, enums, bounds, area and rule). An agent can distinguish it from propose_changes and from the rules resource 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?

It gives explicit routing: use this focused view for a single action, and read ritabygget://rules when cross-action policy inspection is needed. It also implies the selection rule between the two modes (no type to discover types, with type to drill into one), so nothing about when to call it 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources