Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Finish reference document upload

complete_design_source_upload
Idempotent

Finalize an uploaded design source after transfer; verifies its declared size and SHA-256. Then read_design_source to extract cited PDF pages or validate the CSV heat map.

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "complete_design_source_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
artifact_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: it verifies declared size and SHA-256, implying the call can fail on mismatch. However, it does not say what happens on a failed verification or whether the artifact is rejected/deleted.

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?

Two short sentences, front-loaded with the action and its precondition, then the follow-up. No filler; the only mild excess is the parenthetical downstream detail about PDF pages and CSV heat maps, which is useful routing context rather than noise.

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?

Return values need not be described because an output schema exists, and the single-parameter surface is simple. The remaining gap is failure semantics for a checksum/size mismatch, which an agent finalizing an upload would want to know.

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?

The schema has one undocumented parameter (artifact_id, uuid, 0% description coverage), and the description only alludes to 'an uploaded design source' without stating that the id comes from the preceding upload step or how to obtain it. That is marginally better than the schema alone, but well short of compensating 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 ('Finalize') against a specific resource ('an uploaded design source after transfer') and states the verification work performed (declared size and SHA-256). It implicitly distinguishes itself from the prepare/open upload siblings by tying itself to the post-transfer step, though it never names them.

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?

The phrase 'after transfer' clearly places the call in the upload sequence, and the second sentence names the follow-up tool read_design_source with concrete downstream purposes. It stops short of explicit exclusions, e.g., what to do if verification fails or whether prepare_design_source_upload must precede it.

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.

Resources