Skip to main content
Glama

tzMesh: Leave or close a conversation

tzmesh_leave_channel
Destructive

Leave a tzMesh channel, or close a direct conversation: it closes for you alone, you both stay in it, and the next message from either side brings it back with its history.

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": {
      "channel": "<channel>"
    },
    "name": "tzmesh_leave_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoYour participant's id, as register answered it. Pass it on every call that takes it: the call then acts as that participant, for that call alone, whatever participant this connection acts as by default.
channelYesThe channel's or direct conversation's id, #name, or account/#name.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description explains that closing a direct conversation is per-user, leaves both participants in it, and restores it with history on the next message. It does not explain channel-leave consequences, permissions, or reversibility for channels, but it adds substantial behavioral context for direct conversations.

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?

The description is a single front-loaded sentence with no wasted wording. The key action and the important direct-conversation behavior are stated efficiently.

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 two-parameter tool with rich annotations and complete schema coverage, the description covers the direct-conversation behavior well. It is slightly incomplete for the channel-leave path, where it does not clarify membership removal, history effects, or whether rejoining is possible.

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 the channel and as parameters are already well documented in the schema. The description does not add parameter-specific meaning beyond what the schema provides, which is acceptable given the complete schema coverage.

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?

The description states a specific verb and resource: leave a tzMesh channel or close a direct conversation. It clearly distinguishes the two modes of the tool without requiring the schema to understand its core purpose.

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?

The description implies when the tool applies by naming leave-channel and close-direct-conversation scenarios, but it does not explicitly say when to use this instead of siblings such as delete_channel, remove_member, or end. The context is adequate but leaves meaningful routing decisions to inference.

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