Skip to main content
Glama

Update profile photo

update_profile_photo
DestructiveIdempotent

Set the user's profile photo (avatar) or profile cover photo from an image URL (https, JPEG/PNG/WebP/GIF, up to 5 MB). Uses the connected Himalayas account; no extra sign-in needed.

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": {
      "kind": "<kind>",
      "image_url": "<image_url>"
    },
    "name": "update_profile_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
image_urlYeshttps URL of the image

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=true, and idempotent=true. The description adds meaningful behavioral context by specifying accepted HTTPS image formats and the 5 MB limit, plus the connected-account/no-sign-in detail. It could more explicitly state that the existing profile image is replaced, but the destructive hint plus 'Set' covers this reasonably.

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 concise sentences, front-loaded with the action and key constraints. Every clause adds useful information without repetition.

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 mutation with rich annotations and no output schema, the description covers purpose, auth context, and image constraints sufficiently for an agent to call it correctly. It lacks explicit alternative-tool routing and replacement-behavior detail, but those are minor against the annotation coverage.

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 description coverage is 50%, with only image_url documented in the schema. The description compensates well by explaining that kind selects avatar or cover_photo and by adding URL/format/size constraints for image_url. Minor remaining gap: it does not explicitly restate that both parameters are required.

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: setting the user's profile photo/avatar or cover photo from an image URL. It is clear what the tool does, but it does not explicitly differentiate itself from sibling tools such as use_headshot_as_profile_photo or get_headshots_link.

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

Usage Guidelines3/5

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

The description gives useful context: it requires an image URL and uses the connected Himalayas account without extra sign-in. However, it does not explicitly say when to choose this tool over use_headshot_as_profile_photo or when not to use it, so usage is mostly implied.

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