Skip to main content
Glama

adaptorch_get_artifacts

Read-onlyIdempotent

List the files a run produced, by run_id: a mapping from artifact name to a download URL. Read-only and safe to repeat. Call it after adaptorch_run or adaptorch_get_run reports status SUCCEEDED; a run that has not finished, or produced no files, has none to list. Artifacts are outputs to review, not proof that they are correct.

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": "adaptorch_get_artifacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesRun ID returned by adaptorch_run or listed by adaptorch_list_runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the sentence "Read-only and safe to repeat" mostly restates them. The description nonetheless adds real behavioral context the annotations do not: the SUCCEEDED precondition, the empty-result case, the returned mapping shape, and the caveat that artifacts are reviewable outputs rather than proof of correctness.

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?

Four short sentences, front-loaded with what the tool returns, followed by the precondition and caveat. The only redundancy is "Read-only and safe to repeat," which duplicates annotations already supplied to the agent.

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?

With no output schema, the description carries the return-value burden and does so by describing the name-to-URL mapping. Combined with the invocation precondition and empty-case handling, an agent has everything needed to call this correctly and interpret results.

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?

Schema description coverage is 100% and the single run_id parameter is fully documented there, including its provenance. The description repeats "by run_id" but adds no format, validation rules, or edge cases beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ("List the files a run produced") plus the keying parameter (run_id) and the return shape (mapping from artifact name to a download URL). This is enough for an agent to distinguish it from adaptorch_get_run or adaptorch_get_traces without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit precondition ("Call it after adaptorch_run or adaptorch_get_run reports status SUCCEEDED") and an explicit negative case ("a run that has not finished, or produced no files, has none to list"). Both when-to-call and when-not-to-call are stated, so nothing about ordering is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.