Skip to main content
Glama

Mailrun Agent Identity

Upload voicemail greeting audio

upload_voicemail_greeting_audio
Idempotent

Set the identity's voicemail greeting to a recording: MP3, or WAV as 16-bit PCM, at most 5 MB and 60 seconds. Send the file as upload_id (preferred: prepare_upload, then PUT the file from your shell so its bytes never pass through your context) or as content_base64 for a tiny file. The format is detected from the bytes. Replaces any text greeting and any earlier recording. Safe to repeat with the same file. Returns metadata only (size_bytes, sha256, duration) to compare with the local file; do not repeat base64 back to the user.

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": {
      "identity_id": "<identity_id>"
    },
    "name": "upload_voicemail_greeting_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoOptional original file name, kept as metadata.
upload_idNoA received upload from prepare_upload (purpose voicemail_greeting). Use this or content_base64, not both.
identity_idYesIdentity id from list_identities.
content_base64NoBase64 of the MP3 or WAV file bytes, for tiny files only; prefer upload_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false; the description earns credit by explaining the overwrite ('Replaces any text greeting and any earlier recording') and the idempotency claim ('Safe to repeat with the same file'), plus format sniffing from bytes and a warning not to echo base64 back. What it omits is any note on permissions or what happens on a too-large/too-long file (rejection vs. truncation).

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?

Front-loads the action and limits, then the transport options, then effects and return shape. Dense but every sentence carries operational information; no filler or repetition.

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?

Despite there being no output schema, the description enumerates the returned metadata (size_bytes, sha256, duration) and its purpose (compare against the local file). Combined with format/size limits and the overwrite behavior, an agent has everything needed to invoke this correctly and interpret the result.

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 100%, so the baseline is 3; the description adds real value by naming prepare_upload as the producer of upload_id and by explaining that format is detected from the bytes, which the schema does not say. It partly restates the schema's own 'use this or content_base64, not both' wording, so 4 rather than 5.

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?

Opens with a specific verb+resource ('Set the identity's voicemail greeting to a recording') and immediately constrains it to audio (MP3/16-bit PCM WAV, 5 MB, 60 s). Read against siblings like set_voicemail_greeting and clear_voicemail_greeting, an agent can tell this is the binary/recording path rather than the text path.

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?

Gives an explicit preferred path ('prepare_upload, then PUT the file from your shell') and the alternative condition ('content_base64 for a tiny file'), plus a mutual-exclusion rule. It also states the effect on the alternative resource (replaces any text greeting), so the choice against set_voicemail_greeting is implied concretely.

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