Skip to main content
Glama
sassoftware

SAS MCP Server

Official
by sassoftware

Promote Table To Memory

promote_table_to_memory
Idempotent

Load a source table into CAS memory at global scope, making it visible across all sessions. Use to discover and promote unloaded tables for shared access.

Instructions

Load a source table into CAS memory at global scope (visible to all sessions).

Loads the table from its caslib data source and promotes it to global scope via the casManagement updateTableState API. Idempotent: if the table is already loaded in global scope it is left untouched. Use list_source_tables to discover unloaded tables that can be promoted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
server_idYesCAS server name or ID.
table_nameYesTable to load and promote.
caslib_nameYesCaslib containing the table.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / table_name / description
      Previous value: -"Table to promote."New value: +"Table to load and promote."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false and idempotentHint=true. The description adds valuable details: the table is promoted to global scope, the operation uses updateTableState, and the tool is idempotent, leaving already-loaded global tables untouched. This is useful behavior beyond what the annotations alone 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 concise and front-loaded, with the main purpose stated in the first sentence. The follow-up sentences add essential details about the API, idempotency, and discovery via list_source_tables without unnecessary fluff.

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?

For a three-parameter tool with a fully documented schema and an output schema, the description covers the operation, scope, idempotency, and how to find candidate tables. Nothing essential is missing for an agent to select and invoke this tool correctly.

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%, with each parameter clearly described as server_id, caslib_name, and table_name. The description reinforces the role of table_name and caslib context but does not need to add more because the schema is already complete.

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?

Description clearly states the specific action: load a source table into CAS memory at global scope. It also explains the underlying API and explicitly points to list_source_tables for discovering unloaded tables, which differentiates this from sibling tools like list_castables or list_source_tables.

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?

The description gives clear context for when to use the tool by explaining it promotes tables to global scope and is idempotent. It explicitly recommends list_source_tables to discover promotable tables, which provides a usage path, though it does not explicitly state when to prefer alternatives over this tool.

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