Skip to main content
Glama

Upload a picture for live chat staff

upload_live_chat_avatar

Upload a picture for live chat staff

Stores a picture and returns its URL. Set it with PATCH /team/live-chat-agents/{agentId} as avatarUrl.

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": {
      "body": "<body>"
    },
    "name": "upload_live_chat_avatar"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe request fields as one JSON object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so safety is covered. The description adds non-obvious behavior beyond that: the call persists a file and returns a URL rather than applying it, making this a two-step workflow. It does not say whether URLs expire or whether repeated uploads orphan files, which is the remaining gap.

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 short sentences, zero filler, with the action and return value front-loaded and the required follow-up call second. Every sentence carries information the agent needs.

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 one-parameter upload tool with no output schema, the definition covers what it does, what it returns, and how to apply the result, with size/format limits supplied by the schema. Only lifecycle details (URL expiry, replacing an existing avatar, retry semantics given idempotentHint=false) are absent.

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% and the nested `body` object documents `fileData` (base64, PNG/JPEG/WebP, ~65 KB) and `fileName`, so the schema carries the parameter burden. The description adds no extra parameter meaning, which matches the baseline for a fully documented single parameter.

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?

The description states a specific verb and resource ('Upload a picture for live chat staff') and adds that it 'Stores a picture and returns its URL', so the agent knows the side effect and the return shape. It stops short of naming any sibling, but no sibling in the list performs uploads, so confusion risk is low.

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 second sentence gives concrete downstream guidance: set the result via `PATCH /team/live-chat-agents/{agentId}` as `avatarUrl`, which implicitly tells the agent that uploading alone does not change the agent's avatar. It lacks explicit when-not-to-use or alternative-tool exclusions, keeping it below a 5.

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.