Skip to main content
Glama
sassoftware

SAS MCP Server

Official
by sassoftware

list_compute_tables

Read-onlyIdempotent

List tables in a SAS compute library with optional name filtering and pagination.

Instructions

List the tables in a SAS library within a compute context.

These are SAS/Compute tables (e.g. WORK or an assigned libref), distinct from in-memory CAS tables (see list_castables). Runs in the reusable per-user compute session for the context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of tables to return (default 50).
startNoOffset of the first table to return (default 0).
filter_nameNoOptional name filter (substring match).
library_nameYesName of the SAS library/libref (e.g. 'WORK', 'SASHELP').
compute_context_nameYesName of the compute context (see list_compute_contexts).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds valuable context by noting it 'Runs in the reusable per-user compute session for the context,' which explains the execution environment beyond what annotations convey.

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?

The description is two sentences, front-loaded with the core purpose, and includes only essential distinctions and context. Every sentence earns its place with no redundancy.

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?

With an output schema and annotations present, the description sufficiently covers purpose, scope, and execution environment. It does not need to explain return values or parameters because the schema and output schema already capture those details. This is a complete description for a listing tool.

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?

The schema covers 100% of parameters with descriptions including examples like 'WORK' and 'SASHELP'. The description adds no extra parameter semantics beyond referencing WORK as a libref, which is already present in the schema. Baseline of 3 is appropriate given high schema coverage.

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 function: 'List the tables in a SAS library within a compute context.' It specifies the resource type (SAS/Compute tables) and explicitly distinguishes from in-memory CAS tables by referencing list_castables, which differentiates it from sibling tools.

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 provides an explicit alternative ('see list_castables') and clarifies the distinction between SAS/Compute and CAS tables. This direct when-not guidance helps the agent choose the correct tool. The mention of the reusable per-user compute session further contextualizes usage.

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