Skip to main content
Glama

tzMesh: End a participant

tzmesh_end
Destructive

End this session's tzMesh participant, freeing its handle; where this session serves an agent, detach this session alone as its listener, while the agent and its programs keep going.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tzmesh_end"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety bar is lower. The description adds genuinely non-obvious semantics beyond that: when the session acts as an agent's listener, only this session detaches while the agent and its programs continue running. It omits what happens to in-flight or queued messages and whether the handle can be reclaimed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with the main action first and the conditional detach semantics trailing. Information-dense with no filler, though the semicolon-and-'where' clause is slightly hard to parse on first read.

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 one-parameter destructive teardown tool with annotations covering the safety profile and no output schema, this covers the essential question an agent would have: does ending kill the agent, or just this listener? Remaining gaps — message loss and re-registration path — are modest.

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?

The single optional 'as' parameter has full schema description coverage (100%), including the per-call impersonation semantics, so the schema carries the burden. The description does not mention 'as' at all, so it adds nothing beyond structured data; baseline 3 applies.

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?

States a concrete verb and resource: 'End this session's tzMesh participant, freeing its handle.' This is unambiguous in isolation and scoped to the current session, which differentiates it in spirit from channel-level siblings like tzmesh_leave_channel, but no sibling is named explicitly, so it falls short of a 5.

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 implied rather than stated: ending a participant is a lifecycle/cleanup action, and 'freeing its handle' hints at teardown. There is no explicit when-to-use versus leave_channel/remove_member guidance, no note on when NOT to call it, and no mention of re-registering afterwards.

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