Skip to main content
Glama

comsol_cluster_fetch

Downloads COMSOL cluster job results—output.mph, batch.log, and Slurm output files—into the local run folder; set include_mph=false to fetch logs only.

Instructions

Cluster: Ergebnisse eines Jobs herunterladen (output.mph, batch.log, slurm-*.out) nach /cluster/runs//. Danach mit comsol_open(path=...) lokal öffnen und mit comsol_eval/comsol_plot auswerten. include_mph=false holt nur Logs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "comsol_cluster_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo
include_mphNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the disclosure burden, and it does cover the file set fetched and the on-disk destination layout. It omits important behavior: whether the job must be complete, what happens if local files already exist (overwrite/skip), and whether a partial or failed job still returns logs.

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?

Three short sentences, front-loaded with the action and artifacts, then the workflow, then the flag nuance. Nothing is redundant, though the destination path template is a bit dense and could be separated from the file list.

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?

For a two-parameter fetch tool with an output schema (so return values need no explanation), the description supplies the artifact list, destination, flag behavior, and next-step workflow. The remaining gap is job-state preconditions and overwrite semantics on the local filesystem.

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 0%, so the description must compensate; it does explain include_mph's effect (logs only when false), which is genuinely useful. However, job_id gets no semantics at all — notably the empty-string default and where the <job> path segment comes from are left unexplained.

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 in the first clause ("Ergebnisse eines Jobs herunterladen") and enumerates the exact artifacts fetched (output.mph, batch.log, slurm-*.out). It also names the destination path and the downstream siblings (comsol_open, comsol_eval/comsol_plot), so an agent can distinguish it from the cluster status/check tools without inferring from names.

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?

Explicitly prescribes the follow-up workflow: open locally with comsol_open(path=...) and then analyze with comsol_eval/comsol_plot. It also gives a selection rule for the optional flag ("include_mph=false holt nur Logs"), but never states the precondition that the job must have finished first, which is the main when-to-call condition an agent needs.

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