Skip to main content
Glama
SAS MCP Server

SAS MCP Server

Official
by sassoftware

Score Data

score_data

Scores input data against a published MAS model or decision, mapping plain variable names to required underscore-suffixed inputs.

Instructions

Score data against a published model or decision (MAS module).

A decision published from the SAS Intelligent Decisioning UI names its inputs with a trailing underscore (credit_score_); the plain names are accepted and mapped, and the result's inputs_renamed says so. (publish_decision_flow keeps the plain names.)

In a host that shows MCP Apps views, the result is a card the person can turn into an email draft for a colleague.

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": {
      "module_id": "<module_id>",
      "step_id": "<step_id>",
      "input_data": "<input_data>"
    },
    "name": "score_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
step_idYesStep ID within the module (usually 'score' or 'execute').
module_idYesMAS module ID.
input_dataYesDictionary of input variable name-value pairs.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the bar is lower. The description adds genuinely new behavior: input-name mapping from UI exports with an inputs_renamed flag in the result, and a host-dependent card view with an email-draft action. It doesn't say what happens on a scoring failure or how long an execution takes, which keeps 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, followed by two short, focused paragraphs. The MCP Apps / email-draft sentence is the least essential, but it's brief and describes real behavior. No sentence is redundant with the schema or annotations.

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?

With an output schema present, the description needn't explain return values, and the annotations cover safety. The naming convention and inputs_renamed behavior are the tricky parts of this tool and they're addressed. The remaining gap is that it doesn't help the agent pick this tool over its close siblings.

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 schema already documents step_id, module_id, and input_data, giving a baseline of 3. The description does add meaning for input_data by explaining the trailing-underscore naming convention for decision-published inputs and the inputs_renamed result field. That's incremental value but limited to one parameter.

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 first sentence gives a specific verb and resource: score data against a published model or decision in a MAS module. That is far more concrete than the name alone, and the parenthetical clarifies the MAS module framing. It stops short of naming siblings such as score_table or test_score_model, so an agent must infer how this differs from them.

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?

The description implies the usage context (a module/decision already published) and clarifies that this tool accepts both the trailing-underscore UI names and plain names. However, it never states when to choose this over score_table, test_score_model, or query_data, and it names publish_decision_flow only to explain a naming quirk, not to route the agent.

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