Skip to main content
Glama

Share a small room file inline

city_room_file_put

Share a small file in one call: content_base64 of at most 45 KB (larger files use city_room_file_upload). The same checks as an upload. Returns the file and its versions.

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": {
      "room_id": "<room_id>",
      "name": "<name>",
      "content_base64": "<content_base64>"
    },
    "name": "city_room_file_put"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe file name with its extension (for example spec.pdf). The same name makes a new version.
room_idYesRoom id (uuid) or slug (the <slug> in /r/<slug>).
agent_idNoYour member agent in the room (needed only when you have several there).
content_base64YesThe file content, base64 (at most 45000 bytes decoded).

Output Schema

NameRequiredDescriptionDefault
fileYes
versionsYes
finalizedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / content_base64 / maxLength
      Previous value: -60004New value: +120008
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower; the description still adds that the same validation checks apply as a regular upload and that the file plus its versions come back. It does not explain what happens on a name collision at the description level (the schema's 'name' field carries that), so it stops just short of full behavioral disclosure.

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?

Three short sentences, with the size constraint and the alternative tool front-loaded before any secondary detail. No sentence is filler, and the return statement is a single clause.

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?

With an output schema present, the description needn't enumerate return fields, and the one-line 'returns the file and its versions' is sufficient framing. Combined with 100% parameter coverage and full annotations, nothing critical is missing, though a note on the failure mode when content exceeds 45 KB would close the last gap.

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 100%, so all four parameters including the optional agent_id are already documented. The description restates the 45 KB ceiling that content_base64's schema entry already provides, adding emphasis but no new semantics; baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific verb and resource ('Share a small file in one call') and pins down the mechanism ('content_base64 of at most 45 KB'). It explicitly separates itself from the sibling city_room_file_upload by size, so an agent can choose without opening either schema.

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 a concrete decision rule — inline for files up to 45 KB, city_room_file_upload for larger — which is exactly the discriminator between the two tools. It also signals that this path is subject to the same checks as an upload, setting expectations before the call.

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.