Skip to main content
Glama

set_org_ruleset

PRO — Store an org default ruleset (validated first). From then on validate, coverage, scorecard, estate, baseline, codefirst and fix use it whenever no ruleset is passed.

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.
rulesetYesA Spectral ruleset to run instead of the catalog default. Score against rules you never adopted means little — pass your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare a non-readonly, non-idempotent, non-destructive mutation, and the description adds valuable context beyond them: the ruleset is validated before storage and it becomes a persistent default affecting validate, coverage, scorecard, estate, baseline, codefirst and fix. This discloses the side-effect scope clearly. It doesn't explain what validation rejects or whether an existing default is overwritten, keeping it at 4.

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?

Two sentences, zero filler, and the critical persistence/validation fact is front-loaded. The list of affected tools is long but earns its place by defining the blast radius.

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 mutation tool with no output schema, the description covers validation-first behavior and the scope of the change, which is what an agent needs to call it safely. What it omits, chiefly whether it overwrites an existing default and what validation errors look like, is a minor gap.

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%, so both `context` and `ruleset` are already documented in the schema; the description adds no syntax or format detail about the ruleset object. Baseline 3 is appropriate.

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?

States a specific verb (Store) and resource (org default ruleset) and adds the effect: it becomes the default for downstream tools. It does not explicitly name that get_org_ruleset is the read counterpart, but the purpose is unambiguous for an agent.

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?

It implies usage by explaining that downstream tools use the stored ruleset whenever no `ruleset` is passed, which tells the agent the operational consequence. However, it gives no explicit when-to-use guidance, no prerequisites section, and no differentiation from siblings like get_org_ruleset or federate_rulesets.

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