Skip to main content
Glama
SAS MCP Server

SAS MCP Server

Official
by sassoftware

Get Decision Flow

get_decision_flow
Read-onlyIdempotent

Fetches the current state of a SAS Intelligent Decisioning flow and returns an open_url for viewing or editing the decision.

Instructions

Fetch the current state of a SAS Intelligent Decisioning flow.

open_url opens the decision in SAS Intelligent Decisioning: give it to the person when they ask where to see or edit the decision.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "decision_id": "<decision_id>"
    },
    "name": "get_decision_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
decision_idYesThe decision flow UUID (not its name — list_decision_flows returns both).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds behavior not visible in annotations: the result carries an open_url pointing into the SAS Intelligent Decisioning UI and that value should be relayed to the user. It does not discuss freshness or failure when the decision does not exist.

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?

Two short, front-loaded sentences with no filler; purpose comes first, output-handling advice second. The phrase 'give it to the person' is slightly oblique about what 'it' refers to, costing a perfect score.

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 one-parameter read tool with full schema coverage, an output schema, and complete safety annotations, the definition covers what is needed to call it and what to do with the result. The remaining gap is sibling disambiguation against the revision and code fetchers.

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% and the schema itself already explains that decision_id is a UUID, not a name, and points to list_decision_flows for lookup. The description contributes nothing further about the single parameter, so baseline 3 applies.

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?

Specific verb plus resource: 'Fetch the current state of a SAS Intelligent Decisioning flow.' The word 'current' hints that this is the live version rather than a revision, but the description never names sibling reads such as get_decision_flow_code or get_decision_flow_revision, so differentiation is left to the schema's note that list_decision_flows returns both UUID and name.

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 supplies one concrete consumer-facing scenario — when someone asks where to view or edit the decision, hand them the open_url — which is genuinely useful routing guidance. It offers no guidance on when to choose this over the code, revision, or list variants, leaving the main selection question unanswered.

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

Deploy Server

Other Tools