Skip to main content
Glama
sassoftware

SAS MCP Server

Official
by sassoftware

List Files

list_files
Read-onlyIdempotent

Retrieve files from the Viya Files Service. Apply a name filter to locate specific files, and set a limit to manage the number of results.

Instructions

List files in the Viya Files Service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum files to return (default 50).
filter_nameNoOptional name filter (substring match).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.0
    • addedOutput schema / properties / result / items / additionalProperties
      Added value: +true
    • addedOutput schema / properties / result / items / type
      Added value: +"object"
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, and the description does not contradict these. However, the description adds no behavioral context beyond the basic listing action, such as pagination semantics, result ordering, or what subset of files is returned.

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 a single front-loaded sentence with no filler, no repetition of schema details, and no unnecessary qualifiers. Every word carries meaning.

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

Completeness4/5

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

For a simple read-only list operation with two optional parameters, the description, schema, output schema, and annotations together provide enough factual information to invoke the tool correctly. It does not offer broader context about when to prefer this over sibling file tools, but that gap is more about usage guidance than completeness of the tool definition.

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 input schema documents both parameters with clear descriptions: the limit default and the optional substring filter. Since schema description coverage is 100%, the description does not need to compensate, and the baseline of 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?

The description states a specific operation ('List files') and a specific resource scope ('Viya Files Service'), which clearly distinguishes it from sibling list tools such as list_reports or list_jobs. This is a concrete verb-resource pairing rather than a restatement of the title.

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

Usage Guidelines3/5

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

No explicit when-to-use or when-not-to-use guidance is given, and no alternative tools are named. The intended use is only implied by the tool name and the one-line description, which is adequate for a unique list operation but leaves selection reasoning entirely to the agent.

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