Skip to main content
Glama

player_avatar

Resolve a player's legacy profile avatar by inspecting the official endpoint's redirect, returning avatar_url, image_url, and redirect_status while accepting only HTTPS Splinterlands-domain destinations.

Instructions

Resolve one player's legacy profile image link, which may be RUNI artwork and is not the avatar-builder character. Reads the official avatar endpoint once logically, inspects its HTTP 302 Location without following it, and returns avatar_url, image_url and redirect_status. Only HTTPS Splinterlands-domain image destinations are accepted. No image bytes are downloaded; the current image URL may change. A returned avatar does not prove the account exists. No credentials or game writes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and delivers richly: it discloses that it makes a logical HTTP request, inspects the 302 Location without following it, does not download image bytes, that the URL may change, that a returned avatar does not prove account existence, and that no credentials or game writes are involved. This comprehensively sets expectations for a read-only resolve operation.

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?

The description is front-loaded with the core purpose, followed by behavioral details and caveats. Each of the six short sentences adds a distinct piece of information: purpose, mechanism, output fields, domain constraint, no-download behavior, volatility, non-proof of account, and safety. No fluff or redundancy.

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 single-parameter tool with no output schema? The description explicitly lists the return fields (avatar_url, image_url, redirect_status) and covers critical caveats like URL volatility, domain restrictions, and lack of account-existence proof. The tool's complexity is fully addressed; an agent has everything needed to call it correctly.

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 0%, so the description must compensate. It implicitly ties the single 'name' parameter to the player via 'one player's legacy profile image link,' but does not explicitly state that the 'name' parameter is the player account name or what format is expected. A clearer explicit mapping would be needed to fully compensate for the schema's silence.

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?

The description states a specific verb ('Resolve'), a resource ('one player's legacy profile image link'), and explicitly distinguishes it from the avatar-builder character by noting 'is not the avatar-builder character.' This disambiguates it from sibling tools like player_custom_avatar without needing to open schemas.

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 clear context by positioning itself as resolving the legacy profile image link and contrasting with the avatar-builder character, implicitly indicating when to use this tool. It does not explicitly name alternatives or state 'when not to use,' but the distinction is unambiguous enough for an agent to route correctly.

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