Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Prepare reference document upload

prepare_design_source_upload

Prepare a supplier PDF, requirements TXT, CSV or reference PNG/JPEG with known size and SHA-256. Returns the API file picker or reuses the exact verified source. Follow returned upload state; never run shell uploads. Prefer open_design_source_upload when no checksum is available.

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": {
      "project_id": "<project_id>",
      "filename": "<filename>",
      "media_type": "<media_type>",
      "size_bytes": "<size_bytes>",
      "sha256": "<sha256>"
    },
    "name": "prepare_design_source_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
sha256Yes
filenameYes
media_typeYes
project_idYes
size_bytesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations, it discloses the preconditions (size and SHA-256 must already be known), that the call yields an API file picker, that an already-verified exact source is reused rather than re-uploaded, and that callers must act on returned upload state instead of shelling out. It does not say what happens on a checksum mismatch or how long a prepared upload handle stays valid. The reuse wording is content-level de-duplication, not a contradiction of idempotentHint=false.

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 tight sentences with the capability and its preconditions front-loaded, followed by behavior and then the sibling routing rule. Slightly telegraphic phrasing ('Follow returned upload state') costs a little clarity but nothing is wasted.

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?

With an output schema present, return values need not be explained; the description still covers prerequisites, the alternative tool, and post-call obligations, which is enough for a five-required-parameter preparation step. The remaining gap is failure behavior (checksum mismatch, expired prepared upload), which an agent would otherwise have to discover at runtime.

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 coverage is 0%, so the description must carry parameter meaning; it clarifies that sha256 and size_bytes are caller-supplied prerequisites and ties media_type to the accepted document/image kinds. It adds nothing for project_id, and gives no format or normalization guidance for filename or the checksum's lowercase hex form beyond what the schema pattern already enforces, so it only partly compensates for the coverage gap.

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 (prepare) and resource (reference document upload) and enumerates exactly which artifact types qualify (supplier PDF, requirements TXT, CSV, reference PNG/JPEG). It also names the sibling open_design_source_upload as a different path, so an agent can distinguish the two without opening schemas.

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 routing rule: 'Prefer open_design_source_upload when no checksum is available,' which is the precise condition separating the two tools. It also adds an explicit prohibition ('never run shell uploads') and a process instruction ('Follow returned upload state'), leaving little 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.

Resources