Skip to main content
Glama

OpenMark

Prepare file attachments

prepare_attachments

Get an upload_uid and the exact command to upload images, PDFs or text documents for a task. Upload the files, reference them by file name in each test's attachments list, then pass the upload_uid to 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. Added

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does add real value by revealing that the tool returns a uid and a command rather than performing the upload itself. However, it omits operating constraints an agent would want: file count/size limits, whether the upload_uid expires, auth requirements, and failure behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with no redundancy; the primary output (upload_uid + command) is front-loaded and the follow-up workflow comes second. Every clause earns its place.

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?

There is no output schema, so the description correctly explains what comes back (upload_uid and the command) and how to use it. It is nearly complete for a prep utility, with only edge cases like limits, expiry, and error handling left unstated.

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 100% for the single file_names parameter, so the schema already documents that these are local paths used to build a ready-to-run command. The description mentions referencing files by name but adds no syntax, path-format, or ordering detail beyond the schema; baseline 3 applies.

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: get an upload_uid plus the exact upload command for images, PDFs, or text documents tied to a task. It clearly separates this preparatory step from run_benchmark, which it names as the downstream consumer, so an agent can distinguish it from siblings without opening the schema.

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 an explicit ordered workflow: upload the files, reference them by file name in each test's attachments list, then pass the upload_uid to run_benchmark. This is strong when-to-use guidance tied to a named sibling, though it offers no when-not-to-use or guidance for already-uploaded files.

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