Skip to main content
Glama

Elron Club Public Rentals

Upload a public support photo

contact.upload_photo
Idempotent

Upload one customer-approved JPEG or PNG support photo, up to 5 MiB, as base64. The shared image sanitizer strips metadata and returns a single-use 30-minute upload token for contact.submit. Arbitrary URLs and storage keys are not accepted. Keep the idempotencyKey stable for retries.

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": {
      "fileName": "<fileName>",
      "mimeType": "<mimeType>",
      "contentBase64": "<contentBase64>",
      "confirmed": "<confirmed>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "contact.upload_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameYes
mimeTypeYes
confirmedYes
contentBase64Yes
idempotencyKeyYes

Output Schema

NameRequiredDescriptionDefault
ucpNo
errorNo
resultNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "retryable": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message",
      +    "retryable"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / status / const
      Removed value: -"completed"
    • addedOutput schema / properties / status / enum
      Added value: +[
      +  "completed",
      +  "error"
      +]
    • addedOutput schema / properties / ucp
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "capabilities": {
      +      "additionalProperties": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "version": {
      +              "const": "2026-07-13",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "version"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 1,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "propertyNames": {
      +        "enum": [
      +          "club.elron.rentals.discovery",
      +          "club.elron.rentals.application",
      +          "club.elron.rentals.viewing",
      +          "club.elron.rentals.quote",
      +          "club.elron.rentals.booking",
      +          "club.elron.rentals.waitlist"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "version": {
      +      "const": "2026-04-08",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "version",
      +    "capabilities"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "result"
      -]New value: +[
      +  "status"
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag this as a write operation with idempotency and open-world behavior, and the description adds material context they don't carry: the sanitizer strips metadata, the returned token is single-use and expires in 30 minutes, URL/storage-key inputs are refused, and retries must reuse the same key. That is exactly the kind of operational detail an agent needs before calling a mutation tool.

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?

Four sentences, each carrying a distinct constraint, front-loaded with the core action and the hard limits. No filler and no restating of the tool name.

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 write tool with five required parameters, the description covers format, size, sanitization, token lifetime, and retry policy, and an output schema exists so return values need no explanation. The unanswered `confirmed` flag and unexplained fileName keep it from being fully complete.

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?

With 0% schema description coverage, the description must compensate and largely does: it explains the base64 content format, the JPEG/PNG restriction, the 5 MiB ceiling, and the retry semantics of idempotencyKey. It leaves two gaps, though: fileName is never discussed, and the required `confirmed: true` flag is never explained, so the agent cannot tell what it is attesting to.

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?

A specific verb and resource ('Upload one ... support photo') with hard scope limits (JPEG/PNG, 5 MiB, base64) are stated in the first sentence. It also positions itself relative to the sibling contact.submit by naming the token that tool consumes, so an agent can distinguish it from applications.upload_document.

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?

It gives clear operating context: the photo must be customer-approved, arbitrary URLs and storage keys are rejected, and the idempotencyKey must stay stable across retries. It implies the follow-on step (contact.submit) without explicitly stating when to prefer it over upload alternatives like applications.upload_document.

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