Skip to main content
Glama
sassoftware

SAS MCP Server

Official
by sassoftware

get_report_outline

Retrieve a SAS report's page and object outline, including names, labels, types, and text, to locate handles for editing, placement, and export.

Instructions

Read a report's structure: pages → objects with the handles other tools need.

Reduces the stored report definition to a compact outline — per page its internal name and label, per object its name (ve*), label, type, and any text content. Use it to edit an existing report, to recover object names after an apply, or to check what a batch actually produced:

  • object name → the target for relativeToObject/container placement and updateObject;

  • object label → what export_report report_objects takes;

  • page label → the page placement target.

Returns {"status": "ok", "pages": [...], "hint": ...} (or not_found / outline_failed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
report_idYesThe report id to outline.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that the tool reduces the report definition to a compact outline, specifies the exact fields returned, and mentions possible error statuses (not_found, outline_failed). While it doesn't discuss side effects, auth, or performance, the read-only nature is implied and the return contract is clearly described.

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 description is moderately long but well-structured with a clear introductory sentence, a concise explanation of the outline format, bullet-pointed mappings, and a return summary. Every section adds value, though it could be trimmed slightly without losing essential information.

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 present, the description doesn't need to detail return values, but it still gives a high-level summary. It covers purpose, usage, parameter context, and relationships to sibling tools comprehensively. For a single-parameter read tool, this is fully complete.

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 already fully describes the single parameter report_id with 100% coverage. The description adds context about how the report structure is outlined but doesn't elaborate on report_id semantics beyond what the schema states. Baseline of 3 is appropriate when schema handles parameter documentation.

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 reads a report's structure, specifically mapping pages to objects and providing handles for other tools. It differentiates itself by outlining what fields are included (name, label, type, text) and how they are used by other tools, making it distinct from siblings like get_report or describe_report_objects.

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?

Explicitly lists three use cases: editing existing reports, recovering object names after an apply, and checking batch output. It also provides concrete mappings to other tools (relativeToObject, container, updateObject, export_report), giving clear when-to-use and how-it-relates guidance.

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