Skip to main content
Glama

quiry

Upload avatar

upload_avatar

Uploads a profile photo (png, jpeg or webp, up to 2 MB, base64) to the token owner's own folder. It is attached only when you pass the returned url as photo to save_my_profile.

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": {
      "content_type": "<content_type>",
      "data_base64": "<data_base64>"
    },
    "name": "upload_avatar"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_base64Yes
content_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so well: accepted formats, a 2 MB cap, base64 encoding, and scoping to the token owner's own folder. It also discloses that the upload is inert until referenced by save_my_profile, which is genuinely non-obvious behavior. Minor gaps: no statement about whether re-uploading replaces a prior avatar or about failure modes for oversized/invalid payloads.

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 sentences, zero filler. The constraints are packed in parenthetically and the critical workflow caveat leads the second sentence rather than being buried.

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?

For a two-parameter, no-output-schema tool this is close to complete — formats, size limit, encoding, storage location and the downstream save_my_profile step are all covered, and the response's url is implied by "the returned url." A brief note on response shape or overwrite behavior would close the remaining gap.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does: it identifies the accepted image types (matching the content_type enum) and specifies base64 encoding plus a 2 MB ceiling for data_base64. It never names the parameters outright, leaving the mapping slightly implicit, but both are covered in substance.

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 ("Uploads a profile photo") plus the destination ("the token owner's own folder") and immediately clarifies it does not by itself attach the photo. That last detail cleanly separates it from save_my_profile, the only sibling that touches profile photos.

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?

The description gives explicit workflow guidance: the upload only takes effect when the returned url is passed as photo to save_my_profile, which tells the agent the required follow-up call. It stops short of naming when-not to use it (e.g., reusing an existing url instead of re-uploading), so it is clear context rather than full routing guidance.

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