Skip to main content
Glama

Save an uploaded photo

save_upload
Idempotent

Used by the upload box in the chat to send the photo the user picked. Not for the model: use upload_image.

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": {
      "upload_id": "<upload_id>",
      "data": "<data>"
    },
    "name": "save_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesThe image, base64.
upload_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description adds the caller context (chat upload box) but says nothing beyond that about persistence, where the image ends up, or what happens to the upload_id afterward. It does not contradict the annotations, but it adds only modest behavioral context on top of them.

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 short sentences with zero filler, and the disambiguation is front-loaded immediately after the purpose statement. Nothing is redundant or buried, though the brevity is partially the source of the coverage gaps rather than pure efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a two-required-parameter mutation with no output schema and half the parameters undocumented; an agent still cannot tell what `upload_id` is, whether the upload is consumed by this call, or what a successful save returns. The description answers "who calls this," but not enough of "what do I pass and what happens" for a write operation at this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: `data` has a description ("The image, base64.") but `upload_id` has none at all, and the description never explains what an upload_id is, where it comes from, or whether it is a session/handle reference. The only phrase bearing on parameters is "the photo the user picked," which loosely implies `data`, leaving the required `upload_id` entirely undefined across both schema and description.

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 action and resource ("send the photo the user picked") and ties it to the chat upload box, which is a concrete scope. It also names the sibling tool it must not be confused with, so an agent can separate it from upload_image without opening schemas. Slightly reduced because "save_upload" vs. the described "send" action leaves the persistence behavior ambiguous.

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?

Explicitly sets the when-not ("Not for the model") and names the alternative ("use upload_image"), and it identifies the actual caller ("the upload box in the chat"). An agent reading this knows both that it should normally avoid this tool and what to call instead, which is exactly the routing guidance this dimension rewards.

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