Skip to main content
Glama
Almond MCP

Almond MCP

get_environment_run

Read-only

Retrieve a saved environmental run's summary—inputs, assumptions, classification, metrics, and image paths—or poll a background job by ID and return its result when finished.

Instructions

(BETA) A saved run's full summary (inputs, assumptions, classification, metrics, image paths). include_values adds the per-sensor values (and sensor points, metres) of one metric. Also takes a job_id from a background study: 'running' with elapsed_s (no progress estimate) until it finishes, then its result. Job ids live in the server's memory and are lost if it restarts; a finished run's run_id is saved to disk.

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": {
      "run_id": "<run_id>"
    },
    "name": "get_environment_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricNo
run_idYes
include_valuesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses several behaviors an agent could not otherwise know: it is BETA, progress cannot be estimated while a job runs, job ids are held in server memory and vanish on restart, while a finished run's run_id is persisted to disk. Those are exactly the operational caveats that change how an agent should call and retry.

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 text is dense and front-loaded with the return summary before the parameter and job-handling caveats; nearly every clause carries information. The job_id sentence is a run-on with internal colons and parentheses that take a second read, a minor structural cost.

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?

An output schema exists, so return values need not be re-explained, and the description still previews the summary fields. Combined with the job-versus-run id distinction, the persistence caveat, and the include_values/metric semantics, an agent has everything needed to invoke it correctly.

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?

With 0% schema description coverage the description has to carry all parameter meaning, and it largely does: include_values is explained plus its side effect (adds sensor points, in metres), metric is identified as selecting one metric, and run_id is explained as also accepting a job_id. The metric parameter is described only implicitly through 'one metric' rather than by name, which slightly weakens an otherwise strong compensation for the coverage gap.

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?

The description uses a specific verb+resource ("A saved run's full summary") and enumerates the payload fields (inputs, assumptions, classification, metrics, image paths), which lets an agent predict the shape of the result. It does not explicitly contrast itself with siblings such as list_environment_runs or show_environment_result, so an agent must infer the boundary from those tools' own definitions.

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?

Usage conditions are stated concretely: include_values is the switch for per-sensor values, metric selects which metric's values, and run_id may alternatively carry a job_id from a background study. The polling pattern ('running' with elapsed_s until it finishes, then its result) is spelled out, though there is no explicit statement of when to prefer this over the list/show siblings.

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