Skip to main content
Glama
sassoftware

SAS MCP Server

Official
by sassoftware

lock_business_ruleset_revision

Creates an immutable revision of a business rule set, capturing its current state for use in decision flows. Required before a rule set can be referenced by a decision step.

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.
revision_typeNo"minor" for iterative changes, "major" for a significant/approved milestone (default "minor").minor

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses critical behavior: the revision-creation request 'replaces the rule set's full content from the body sent,' and warns that omitting rules would 'wipe the live rule set's rules, not just the new revision.' This is essential safety information for a mutation tool.

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?

The description is well-structured with clear paragraphs explaining purpose, usage, and behavior. It is slightly verbose but every sentence adds value. Front-loaded with the core action.

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?

Given the tool's complexity (involves fetching content, creating revision, risk of data loss) and the presence of an output schema, the description covers all necessary context: why revisions are needed, when to call, the replacement behavior, and the parameter semantics indirectly. No gaps remain.

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 coverage is 100%, so baseline is 3. The description does not elaborate on parameter meaning beyond the schema, though it implicitly references ruleset_id and revision_type. No additional semantic value is added for the parameters themselves.

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 clearly states the tool's action: 'Lock the current state of a rule set as an immutable revision.' It explains why it's needed (decision steps reference a specific revision) and distinguishes it from similar tools like lock_decision_flow_revision by explicitly mentioning business rulesets.

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 provides clear guidance on when to use: before wiring a rule set into a decision flow, and to 'call again after editing rules if a decision needs to pick up the changes.' It implicitly advises against overuse by noting that a revision must exist before wiring, but does not explicitly state when not to use or list alternatives.

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