Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Import attached reference document

import_design_source_attachment

Import an already attached supplier PDF, requirements TXT, CSV heat map/table or PNG/JPEG using the file reference supplied by the chat host. Prefer this over another file picker when the host supplies the attachment. The API fetches and verifies the bytes, returning a ready artifact for read_design_source; then continue the user's existing request. Never invent a download URL/file ID, use a local path or expose the temporary URL. If the host cannot provide a transferable attachment, use open_design_source_upload once. Images remain visual evidence, not measured dimensions or numeric heat maps. Does not start engineering compute. May return a pending operation_id instead of the finished result. Continue with get_operation at retry_after_seconds intervals; on success use result, then continue the requested workflow. Do not resubmit to check progress.

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>",
      "file": "<file>"
    },
    "name": "import_design_source_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesStandard JSON input; hosts may also recognize openai/fileParams metadata.
sha256No
filenameYes
media_typeYes
project_idYes
size_bytesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $defs / ChatAttachment
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Standard JSON input; hosts may also recognize openai/fileParams metadata.",
      -  "properties": {
      -    "download_url": {
      -      "description": "Temporary HTTPS URL supplied by the chat client for this selected attachment. Never invent a URL or substitute a local path.",
      -      "maxLength": 8192,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "file_id": {
      -      "description": "Opaque reference supplied by the chat client. It is not an API key.",
      -      "maxLength": 1024,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "file_name": {
      -      "default": "",
      -      "maxLength": 180,
      -      "type": "string"
      -    },
      -    "mime_type": {
      -      "default": "",
      -      "maxLength": 180,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "download_url",
      -    "file_id"
      -  ],
      -  "type": "object"
      -}
    • removedInput schema / properties / file / $ref
      Removed value: -"#/$defs/ChatAttachment"
    • addedInput schema / properties / file / additionalProperties
      Added value: +false
    • addedInput schema / properties / file / description
      Added value: +"Standard JSON input; hosts may also recognize openai/fileParams metadata."
    • addedInput schema / properties / file / properties
      Added value: +{
      +  "download_url": {
      +    "description": "Temporary HTTPS URL supplied by the chat client for this selected attachment. Never invent a URL or substitute a local path.",
      +    "maxLength": 8192,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "file_id": {
      +    "description": "Opaque reference supplied by the chat client. It is not an API key.",
      +    "maxLength": 1024,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "file_name": {
      +    "default": "",
      +    "maxLength": 180,
      +    "type": "string"
      +  },
      +  "mime_type": {
      +    "default": "",
      +    "maxLength": 180,
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / file / required
      Added value: +[
      +  "download_url",
      +  "file_id"
      +]
    • addedInput schema / properties / file / type
      Added value: +"object"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety and mutation profile is covered. The description adds useful context beyond that, notably that images are evidence rather than measurements, that no engineering compute is started, and that a pending operation_id may be returned. However, it says nothing about sizing limits (size_bytes, sha256 verification) or error behavior, leaving notable behavioral gaps given the annotations only cover the basics.

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?

Front-loaded with the primary action and the routing rule, then constraints, then continuation logic; every section serves a purpose. It runs long (about ten sentences) and the 'continue the user's existing request' instruction is repeated, which is slight redundancy but not harmful.

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?

Given an output schema exists, the description needn't explain return payloads, and it instead covers the one thing an agent must know: that a pending operation_id may come back and must be polled via get_operation using retry_after_seconds. Combined with the file-reference provenance rules and the fallback path, an agent can call this correctly without further context.

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?

At 17% schema description coverage, the description must compensate. It does explain the critical file semantics (chat-host-supplied reference, never invent a download_url/file_id, no local paths), which is genuinely helpful. It still leaves sha256, size_bytes, filename constraints and project_id 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?

Specific verb plus resource: 'Import an already attached supplier PDF, requirements TXT, CSV heat map/table or PNG/JPEG using the file reference supplied by the chat host.' It immediately distinguishes itself from open_design_source_upload (fallback) and positions its output as an input for read_design_source.

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?

Explicit selection rule ('Prefer this over another file picker when the host supplies the attachment'), an explicit fallback with a usage cap ('use open_design_source_upload once'), and a post-call sequence (use result, then continue the requested workflow). It also says when not to resubmit.

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