Skip to main content
Glama

Sergio by Serviche

Upload a picture for a Team reference note

upload_team_reference_image
Idempotent

Stores a picture for a Team reference note on the Ops Summary, as the note editor's picture button does, and returns its url and path. Put the url in the note's content_md as alt through add_team_reference_note or edit_team_reference_note. Send the picture bytes as content_base64 with its file_name; a JPEG, PNG, GIF or WebP, 5 MB at most. Pass the same idempotency_key when retrying; a repeat returns the image the first call stored.

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": {
      "file_name": "<file_name>",
      "content_base64": "<content_base64>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "upload_team_reference_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_nameYes
content_base64Yes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: openWorldHint=false and destructiveHint=false are supplemented with the accepted formats, the 5 MB size ceiling, and the exact idempotency behavior (a repeat returns the image stored by the first call, not a new one). It also discloses the return values (url and path) even though there is no output schema, so the agent knows what it will get back.

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?

Four dense sentences with no filler, front-loaded with what the tool does and followed by the downstream usage, the payload constraints, and the retry rule. Slightly compressed — the constraints and idempotency sentences pack several ideas each — but nothing is wasted.

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

Completeness5/5

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

For a three-parameter, non-destructive upload with no output schema and only partial schema coverage, the description covers what is stored, the payload constraints, the return shape, and the retry contract. Nothing an agent needs in order to call it correctly is missing.

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 only 33% (only idempotency_key is described in the schema), so the description must carry the load and largely does: it explains that content_base64 holds the picture bytes, that file_name accompanies it, the accepted formats and 5 MB cap, and the concrete meaning of idempotency_key on retry. Only base64 encoding specifics (e.g. whether a data-URI prefix is allowed) are left unstated.

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?

Names a specific verb and resource — storing a picture for a Team reference note on the Ops Summary — and frames it as the equivalent of the note editor's picture button, which fixes the mental model precisely. It routes the agent to add_team_reference_note/edit_team_reference_note for wiring the result in, implicitly distinguishing this upload step from note creation, though it does not contrast with the other upload_* siblings.

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 clear workflow context: call this first, then embed the returned url as ![alt](url) in content_md via the note tools. It also states the retry rule (reuse idempotency_key) and what a repeat returns. It stops short of explicit when-not-to-use guidance versus the other image/document uploaders, but the Ops Summary note scope is a strong implicit filter.

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