Skip to main content
Glama

get_run

Read-onlyIdempotent

Retrieve the latest logged metrics, parameters, tags, and dataset inputs for a specific DagsHub repository run to inspect experiment results.

Instructions

Read latest logged metrics (including steps), parameters, tags and dataset inputs.

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

Input Schema

NameRequiredDescriptionDefault
run_idYes
repositoryYes

Output Schema

NameRequiredDescriptionDefault
tagsNo
paramsNo
run_idYes
sourceYes
statusYes
metricsNo
datasetsNo
warningsNo
truncatedNo
repositoryYes
artifact_uriNo
experiment_idYes

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 read-only, idempotent, non-destructive, open-world behavior. The description adds useful context that metrics are 'latest' and include steps, plus that parameters, tags, and dataset inputs are returned. It does not cover behavior for missing runs, permissions, or response shape, but the output schema and annotations carry much of that burden.

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 redundant wording. Every listed item adds information about what the tool returns.

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 annotations covering safety and an output schema covering return values, the description is close to sufficient. However, it omits the core retrieval semantics: that this fetches one run identified by repository and run_id, which is important context for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0% for two required parameters, so the description should compensate. It never mentions run_id or repository, leaving the agent to infer their meaning and relationship entirely from parameter names.

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 gives a specific verb ('Read') and enumerates the run data returned: metrics with steps, parameters, tags, and dataset inputs. It is clear what information the tool surfaces, though it does not explicitly say it retrieves a single run by ID or distinguish itself from siblings like get_metric_history or search_runs.

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?

Usage is only implied by the verb 'Read' and the listed data. There is no explicit guidance on when to use get_run versus get_metric_history, search_runs, compare_runs, or list_experiments, and no prerequisites or exclusions are stated.

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