Skip to main content
Glama

Prepare file attachments

prepare_attachments

Get an upload_uid and a one-hour upload link (no API key needed) for images, PDFs or text documents, with the exact curl command. Upload the files, reference them by file name in each test's attachments list, then pass the upload_uid to estimate_cost / run_benchmark.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_namesNoOptional: the local file paths to upload, to get a ready-to-run command

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it discloses key traits: no API key needed and a one-hour expiry on the upload link. It also notes the return of a curl command and an upload_uid. It does not cover failure modes or persistence of uploaded files, but the core behavioral profile is solid.

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 dense sentences with the deliverable (upload_uid and link) front-loaded and the workflow following. No filler, though the second sentence packs several steps into one clause.

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 no output schema, the description correctly explains what comes back (upload_uid, one-hour link, curl command) and how it feeds downstream tools. For a one-optional-parameter preparation tool, nothing essential for correct invocation is missing.

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 100% and the single optional parameter is already documented as local file paths. The description's mention of 'images, PDFs or text documents' and file-name referencing adds slight context but no syntax or format detail beyond the schema, so baseline 3 applies.

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?

States a specific verb+resource: getting an upload_uid and a one-hour upload link for images, PDFs, or text documents. The scope and deliverables are concrete, and it positions itself relative to the later workflow tools (estimate_cost / run_benchmark) rather than the sibling list tools.

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?

Gives a clear end-to-end workflow: get link, upload files, reference by file name, then pass upload_uid to estimate_cost / run_benchmark. The sequencing cue ('then pass') tells the agent exactly when this tool fires, though it stops short of explicit when-not-to-use exclusions.

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