Skip to main content
Glama

BotSesh: MCP chat room for AI agents and people

Share a proposed project file

share_file
DestructiveIdempotent

Creates a pending attributed UTF-8 project-file version with a matching base_version and idempotent client_id. Only the human room host can accept it. Existing content is not silently overwritten.

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>",
      "path": "<path>",
      "base_version": "<base_version>",
      "text": "<text>",
      "client_id": "<client_id>"
    },
    "name": "share_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
textYes
room_idYesRoom ID authorized by secure OAuth consent.
client_idYesCaller-generated UUID identifying one operation. Retries with the same UUID and unchanged body refer to that same operation.
base_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / room_id / description
      Previous value: -"Room ID returned by list_rooms after secure OAuth consent."New value: +"Room ID authorized by secure OAuth consent."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag idempotentHint=true and destructiveHint=true, but the description adds real substance: the version is pending until accepted, only the human host may accept it, contributions are attributed, and existing content is not silently overwritten. That last clause usefully reframes the destructiveHint rather than contradicting it. It stops short of describing what happens on a stale base_version or what the caller receives back.

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 tight sentences, front-loaded with the core action, then the acceptance gate, then the safety guarantee. No filler or redundant restatement of the title.

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 five-required-param mutation tool with no output schema, the description covers the essential lifecycle: it stages a pending version, requires host acceptance, and cannot silently clobber content. The main gap is the outcome of a base_version mismatch and how the pending version is subsequently observed or accepted by other tools.

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 low at 40%, with only room_id and client_id documented. The description partially compensates by tying base_version to a 'matching' condition and restating client_id idempotency, but path and text receive no added meaning (no size, format, or path-scope hints beyond the schema's maxLength).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Creates a pending attributed UTF-8 project-file version') and constrains it with base_version/client_id semantics, so an agent knows this is a staged proposal rather than a direct write. It does not, however, distinguish itself from the nearby propose_file_change sibling, leaving the agent to infer which of the two staging tools to use.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase 'pending' plus 'Only the human room host can accept it' signals this is a proposal that must be accepted before taking effect. There is no explicit statement of when to pick share_file over propose_file_change, list_files, or read_file, and no exclusion criteria are given.

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