Skip to main content
Glama
sassoftware

SAS MCP Server

Official
by sassoftware

lock_business_ruleset_revision

Create an immutable revision of a business rule set so decision flows can reference a fixed version. Fetching the rule set with its rules included preserves full content and avoids erasing live rules.

Instructions

Lock the current state of a rule set as an immutable revision.

Decision steps reference a specific rule set revision (versionId), not the live working copy, so a revision must exist before wiring a rule set into a decision flow — call again after editing rules if a decision needs to pick up the changes.

The revision-creation request replaces the rule set's full content from the body sent, so this fetches the rule set with its rules included (application/vnd.sas.business.rule.set.integral+json) and resends them — omitting them would wipe the live rule set's rules, not just the new revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ruleset_idYesThe rule set UUID (not its name — list_business_rulesets returns both).
revision_typeNo"minor" for iterative changes, "major" for a significant/approved milestone (default "minor").minor

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv1.7.0
    • changedInput schema / properties / ruleset_id / description
      Previous value: -"The rule set UUID."New value: +"The rule set UUID (not its name — list_business_rulesets returns both)."
  2. Addedv1.5.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only indicate this is a non-read-only, non-destructive, non-idempotent operation. The description goes much further by revealing that the request replaces the rule set's full content, requiring a fetch-and-resend pattern, and explicitly warns that omitting rules would wipe the live rule set. This is critical behavioral disclosure beyond what annotations provide.

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?

The description is concise and well-structured, starting with the core purpose, then explaining context, and finally providing a critical implementation warning. Every sentence adds value, and the three short paragraphs are easy to scan.

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?

The tool has a complex and potentially risky behavior (replacing full content), and the description fully covers how to use it correctly, why revisions are needed, and what pitfalls to avoid. An output schema exists, so return value details are not needed. The description is complete for its complexity.

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 the baseline is 3. The schema already explains both parameters (ruleset_id is a UUID, revision_type is minor/major). The description adds no extra parameter-specific meaning beyond what the schema provides, though the warning about the body content relates to how parameters should be used.

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 opens with a specific verb ('Lock') and resource ('current state of a rule set as an immutable revision'), clearly distinguishing this tool from siblings like lock_decision_flow_revision. It also explains the purpose of revisions in decision flows, making the tool's role unambiguous.

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

Usage Guidelines4/5

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

The description clearly states when to use the tool ('before wiring a rule set into a decision flow') and when to call again ('after editing rules'). It also warns about the risk of omitting rules. However, it does not explicitly mention alternatives or when not to use it, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sassoftware/sas-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server