Skip to main content
Glama
tribeunal

Tribeunal Decision-Making Platform

Official

Update side image

tribeunal_update_side_image
Idempotent

Set or change a case side's vote-card image from a public https URL, with server-side validation for format and size.

Instructions

Set or change a case side's vote-card image, fetched from a public https URL (case owner or admin only). Downloaded and re-encoded server-side (png/jpeg/webp, <=5 MB); http, private/internal hosts and non-image content 422 with a machine-readable reason. Capped at 20 fetches/hour per account (each opens an outbound connection); a 429 past that means wait, not retry. Use the case's and side's uuid from tribeunal_get_case, not numeric ids. At creation, pass sides[].image to tribeunal_create_case instead. Returns the side {uuid, name, description, image}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseIdYesThe case's uuid field (from tribeunal_get_case), not its numeric id.
sideIdYesThe uuid of the side to set the image on, from the case's sides[] array in tribeunal_get_case.
imageUrlYesPublic https URL of the source image; http, private/internal hosts and non-image content are rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Discloses server-side fetch and re-encoding, supported formats and size cap, rejection criteria (http, private hosts, non-image) with 422 and machine-readable reason, and a 20 fetches/hour rate limit with 429 semantics. These go well beyond the annotations, which only indicate mutation, idempotency, and open-world behavior.

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 dense but every sentence adds value: purpose, constraints, rate limit, uuid guidance, alternative, and return format. It is well-structured and front-loaded with the primary action.

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 mutation tool with external fetch, permissions, constraints, and error codes, the description covers all necessary aspects: permissions (owner/admin), validation, rate limit behavior, input sourcing, alternative, and return shape. No output schema exists, so the return description is essential and provided.

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 coverage is 100% and the schema already explains each parameter including the uuid source and imageUrl constraints. The description reinforces the uuid guidance and creation alternative, but adds no fundamentally new parameter-level meaning beyond what the schema provides.

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?

Clearly states the tool sets or changes a case side's vote-card image from a public HTTPS URL, specifying the action, resource, and context. It also distinguishes itself from create_case by noting to pass sides[].image there instead, which separates it from a key sibling.

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

Usage Guidelines5/5

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

Explicitly routes the creation-time use case to tribeunal_create_case, and instructs to use uuids from tribeunal_get_case rather than numeric ids. It also provides operational guidance on rate limits and error handling (429 means wait), making when-to-use and when-not-to-use clear.

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