Skip to main content
Glama

update_profile_image

Replace an X/Twitter account avatar by uploading a local JPG, PNG, or GIF file path.

Instructions

Replace the avatar. Takes a local jpg/png/gif path.

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_path": "<file_path>"
    },
    "name": "update_profile_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.6
    • removedInput schema / properties / file_path / description
      Removed value: -"Absolute path to the image file."
  2. First observedv1.0.3

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two real behavioral traits — that the existing avatar is overwritten and that accepted formats are jpg/png/gif — but says nothing about size limits, permission requirements, reversibility, or whether the old image is retained.

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, front-loaded with the action and followed by the one constraint that matters. Nothing is wasted, though the extreme terseness leaves gaps that a slightly longer definition would have closed.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and a single required parameter keeps complexity low. Still, for an unannotated destructive mutation, the absence of auth, size-limit, and overwrite-behavior details leaves the agent under-informed.

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 establishes that file_path is a local filesystem path (not a URL or media ID) and constrains it to jpg/png/gif. It stops short of stating relative-vs-absolute path rules or size caps.

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?

"Replace the avatar" states a specific verb and resource, and the avatar/banner distinction separates it from the sibling update_profile_banner without needing to open either schema. It is clear but never names a sibling or scoping condition explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing tells the agent how this differs from update_profile, whether an existing avatar must exist, or what prerequisites (auth scope, file size) apply. Usage is only implied by the word "Replace".

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools