Skip to main content
Glama

Program status

get_program
Read-only

Retrieves the current or last rover program, including code, run status, error details, and recent console output for debugging.

Instructions

The current/last rover program: code, status (idle, running, listening, done, stopped, error), error { message, line } and the last 50 console lines.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.7/5.0
Behavior4/5

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

readOnlyHint and openWorldHint are already declared, so the safety bar is low and the description earns credit for adding real behavior: the exact status vocabulary (idle, running, listening, done, stopped, error), the error object shape with line number, and the hard cap of the last 50 console lines. That cap is the kind of behavioral detail annotations cannot 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?

A single dense sentence, front-loaded with the resource and then the return fields. No filler and no repetition of what the title already says.

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?

There is no output schema, so the description must carry the return shape itself and does so completely: program code, enumerated status, structured error, and truncated console log. The one gap is behavior when no program has ever run, but for a zero-argument status reader this is nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters and the schema is empty, which is the baseline-4 case. Nothing about argument semantics is left ambiguous because there are no arguments.

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?

Names a specific resource (the rover program) and enumerates exactly what is returned: code, status, error, and console output. It is clear what the tool does, but it never contrasts itself with siblings like run_program, stop_program, or get_observation, so the agent must infer the boundary.

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?

The description gives no when-to-use statement, no prerequisites, and no alternatives. The 'current/last' wording hints that it also works when nothing is running, but the agent gets no explicit signal about polling cadence or which sibling to prefer for program state versus observation data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.