Upload file
upload_fileUpload a base64 file into .attachments/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_id | No | Project id (or use session from use_project) | |
| data_base64 | Yes |
upload_fileUpload a base64 file into .attachments/
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_id | No | Project id (or use session from use_project) | |
| data_base64 | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description only needs to add operational detail. It adds the target directory and the base64 encoding requirement, but says nothing about overwrite behavior on name collision, size limits, or what happens if .attachments/ does not exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with the destination front-loaded and no filler. Its brevity is efficient, though it edges toward under-specification rather than optimal density.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutating tool with no output schema, 33% parameter coverage, and no annotations describing side effects, the description should say what is returned (path/URL) and how collisions are handled. Neither is present, leaving real gaps for an agent that needs to reference the uploaded file afterwards.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 33% (only project_id is documented in the schema), so the description carries extra burden. It does clarify that data_base64 must be base64-encoded and that the file lands in .attachments/, but 'name' is left completely unexplained (filename vs. path, extension handling).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource plus the destination scope ('upload a base64 file into .attachments/'), which is more than a restatement of the name. It does not, however, distinguish itself from nearby siblings such as write_file, edit_file, or storage_upload, so an agent still has to infer which upload/write path to take.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit when-to-use or when-not guidance and no mention of alternatives. The only implied rule is 'use this when you have base64 data', while the presence of write_file, edit_file, and storage_upload in the sibling list makes the routing decision genuinely ambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.