Skip to main content
Glama

Upload an image answer

upload_custom_field_image

Upload an image as an attendee's answer to an image custom field (see list_custom_fields) on an open Registration Sheet or Booking Agent, before signing them up or changing their answer. Send the image file's bytes as base64: a PNG, JPEG or WebP, 5 MB or smaller. This tool never downloads an image from a link. Returns answer, a reference to pass as that field's answer in register_attendee, book_appointment, update_registration_answers or update_booking_answers. Uploading signs no one up and emails no one.

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": {
      "rally_id": "<rally_id>",
      "custom_field_id": "<custom_field_id>",
      "image_base64": "<image_base64>"
    },
    "name": "upload_custom_field_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
rally_idYesThe rally's id (rallyId from list_rallies).
image_base64YesThe image file's bytes, base64-encoded. A data:image/...;base64, prefix is fine.
custom_field_idYesThe image field's customFieldId from list_custom_fields.

Output Schema

NameRequiredDescriptionDefault
answerYes
customFieldIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: accepted formats, the 5 MB ceiling, no link downloads, and the explicit side-effect disclaimer that uploading 'signs no one up and emails no one'. The gap is that it does not say what happens when the same field is re-uploaded (replacement vs. a new answer reference), which matters given idempotentHint=false.

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?

Four tight sentences with the action and prerequisite front-loaded and the side-effect disclaimer placed last where it is easy to scan. Nearly every clause carries information, though the alternative-tool list in the third sentence is dense enough to slow parsing slightly.

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?

An output schema exists, so return values need not be explained, yet the description still clarifies how to use the returned 'answer' reference. For a 3-parameter, low-destructiveness write tool, the prerequisites, format limits, side effects and downstream usage are all covered.

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 already 100%, so the baseline is 3, but the description adds meaning the schema lacks: which image MIME types are acceptable, the 5 MB limit (the schema only exposes an opaque maxLength), and that bytes must be base64-encoded rather than a URL. It does not expand on custom_field_id beyond what the schema already documents.

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?

States a specific verb ('Upload an image') and the exact resource ('an attendee's answer to an image custom field'), plus the scope constraint that the field must exist on an open Registration Sheet or Booking Agent. It is immediately distinguishable from sibling tools like add_custom_field or register_attendee.

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 says when to call it ('before signing them up or changing their answer') and points to list_custom_fields to find the target field. It also routes the returned reference into the four consuming tools (register_attendee, book_appointment, update_registration_answers, update_booking_answers) and states an exclusion: it never fetches an image from a link.

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