Skip to main content
Glama
SAS MCP Server

SAS MCP Server

Official
by sassoftware

Get Mas Module Step Signature

get_mas_module_step_signature
Read-onlyIdempotent

Fetches a MAS module step's input/output variable signature so you know exact names, types, and order to pass to score_data and what outputs to expect.

Instructions

Fetch a MAS module step's input/output variable signature.

Call before score_data to know the exact variable names, types, and order to pass as inputs, and what outputs to expect. module gives the module's name; for a published decision, decision names the decision it came from, with open_url to open it in SAS Intelligent Decisioning.

In a host that shows MCP Apps views (Microsoft 365 Copilot, Claude, ChatGPT), the result is a form the person fills in and scores from, with the result shown as a card they can email. There, when the person wants to score one case, call this and let them use the form rather than asking for each input in the chat.

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>"
    },
    "name": "get_mas_module_step_signature"
  }
}

Input Schema

NameRequiredDescriptionDefault
step_idNoThe step within the module to inspect (default "execute").execute
module_idYesThe MAS module ID (see ``list_mas_modules``).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • changedInput schema / properties / module_id / description
      Previous value: -"The MAS module ID (see ``list_models_and_decisions``)."New value: +"The MAS module ID (see ``list_mas_modules``)."
  2. Addedv1.5.0

TDQS

A4/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 needs no restating. The description adds genuinely new behavior: the result renders as a fillable form in MCP Apps hosts and as a card that can be emailed. Points are withheld because the middle paragraph discusses parameters that do not exist, muddying what will actually be returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The key guidance — fetch the signature before scoring — is front-loaded, which is good. But the stale paragraph about module/decision/open_url claims space without applying to this tool, and the MCP Apps paragraph repeats itself (form to fill in, card to email), so not every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has a rich annotation set and an output schema, so the description needn't explain return values, and it correctly focuses on when to call. However, the mismatch between the described parameters and the actual two-parameter schema leaves an agent unsure which fields to pass, which is a material gap for a tool this simple.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so module_id and step_id are already documented in the schema. The description does not explain either one in the schema's terms; instead it refers to 'module', 'decision', and 'open_url', none of which appear in the input schema. That adds no clarifying meaning and actively misdirects about the call shape.

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 first sentence gives a specific verb and resource: fetch a MAS module step's input/output variable signature. It is clearly distinct from siblings like list_mas_modules (discovery) and score_data (execution), and an agent can see the boundary without opening either schema.

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

Usage Guidelines5/5

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

It states an explicit ordering rule ('Call before score_data') and the reason (to learn exact variable names, types, and order). It also gives a host-specific alternative behavior: in MCP Apps hosts, let the person fill the rendered form rather than asking for inputs in chat.

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