Skip to main content
Glama
SAS MCP Server

SAS MCP Server

Official
by sassoftware

Get Job Status

get_job_status
Read-onlyIdempotent

Check the current state of a SAS job by job ID; returns not_found with the requested ID when no record exists.

Instructions

Check job state. A missing record returns status="not_found" and the requested job ID.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "get_job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesID of the job.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope. The description does add one genuinely useful behavioral fact beyond them: a missing record yields status="not_found" with the requested ID rather than an error. It stops there, saying nothing about terminal states or whether repeated polling is expected.

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 short sentences with no filler, and the purpose is front-loaded ahead of the not-found edge case. Nothing could be removed without losing information.

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

Completeness3/5

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

With a full output schema and rich annotations, the description only needs to cover call semantics and edge behavior, and it does cover the notable not-found case. However, for a polling-style status tool, the absence of guidance on state transitions or polling cadence leaves a real gap.

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?

There is exactly one parameter with 100% schema description coverage, so the schema already fully documents job_id. The description adds no format, provenance, or sourcing detail, which is acceptable given the schema carries the load but earns only the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Check job state" gives a concrete verb plus resource, and the required job_id makes clear it is a single-job lookup rather than a list. It is implicitly separable from siblings like get_job_log and cancel_job, but the description never names those distinctions explicitly.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus polling alternatives or get_job_log, and no mention of prerequisites such as having a job ID from a submit call. Usage is only inferable from the name and the presence of a job_id parameter.

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