Skip to main content
Glama
sassoftware

SAS MCP Server

Official
by sassoftware

reset_compute_session

Discard the cached compute session for a compute context. The next SAS code execution creates a fresh session, clearing persistent state like WORK tables and macro variables.

Instructions

Reset (delete) the cached compute session for a compute context.

The server keeps one reusable SAS compute session per user and compute context so repeat calls skip the slow session spin-up; SAS state (WORK tables, macro variables, assigned librefs) therefore persists across execute_sas_code and list_compute_* calls. Call this to discard that state — the next compute tool call transparently creates a fresh session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compute_context_nameNoCompute context whose session to reset. Defaults to the server's configured execution context (the one ``execute_sas_code`` uses).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description carries full burden. Discloses that the operation deletes a cached session and that a fresh session is created on next call. Explains consequences (state destruction) and ties to other tools. Could mention auth or rate limits but not critical for this simple tool.

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?

Two paragraphs: first sentence states core action, second provides context and rationale. Every sentence adds value, no redundancy. Efficiently front-loaded.

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 simplicity (one optional parameter) and existence of an output schema, the description covers all necessary aspects: purpose, behavior, effect on state, and relationship to other tools. No missing information.

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 explains the parameter well. Description adds no additional parameter-level detail beyond what the schema provides, so baseline 3 is appropriate.

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?

Clearly states the verb 'reset (delete)' and resource 'cached compute session'. Distinguishes from sibling tools like execute_sas_code and list_compute_* by explaining the persistence mechanism and the effect of discarding state.

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?

Provides explicit guidance: call this to discard persistent state. Implies when not to use (if you want state to persist). Lacks explicit mention of alternative tools or exclusions, but context is clear.

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