Skip to main content
Glama

federate_rulesets

Read-only

PRO — Model a central baseline ruleset and the domains that adopt it (inherit / override / waive / defer / local rules) and compute divergence per rule, drift per domain, and local rules worth promoting.

Input Schema

NameRequiredDescriptionDefault
contextNoOptional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable.
federationYesThe federation model: { central: { rules: [{ code, severity }] }, domains: [{ id, adoptions: [{ code, state, severity?, reason? }] }] }. YAML/JSON string or object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful behavioural content by naming what gets computed (divergence, drift, promotion candidates), but says nothing about how adoption states are resolved, what happens with conflicting severities, or whether 'PRO' implies an entitlement failure mode.

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 dense sentence, front-loaded with the tier marker and the core verb+resource, followed by the computed outputs. Every clause carries information, though the 'PRO —' prefix competes with the purpose for first position.

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?

For a read-only analysis tool with no output schema, the description does the necessary work by enumerating the three result categories an agent should expect. Adequate overall; the remaining gap is the absence of any note on input validation or failure behaviour for malformed federation objects.

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%, so baseline is 3, but the description adds semantics the schema lacks: it enumerates the adoption states (inherit / override / waive / defer / local) that the free-form 'state' field accepts, which is real meaning beyond the schema text. The optional 'context' parameter is not mentioned, keeping it below a 5.

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 gives a specific verb ('model') and resource ('a central baseline ruleset and the domains that adopt it') and enumerates the computed outputs (divergence per rule, drift per domain, promotion candidates). It does not name a sibling, so the agent must infer the boundary against get_org_ruleset, governance_report, or reconcile_waivers from context alone.

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?

Usage is only implied: the input shape (central + domains with adoptions) signals this is the tool for multi-domain federation modelling, and 'PRO —' flags a tier gate. There is no explicit when-to-use/when-not statement and no pointer to alternatives such as reconcile_waivers for waiver handling or governance_report for reporting.

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