Skip to main content
Glama

Send Encrypted Chat

srift_send_chat

Encrypt and send a plaintext chat message to the connected peer with AES-256-GCM end-to-end encryption, protecting message contents during peer-to-peer communication.

Instructions

Send an end-to-end encrypted (AES-256-GCM) chat message to the connected peer.

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": {
      "message": "<message>"
    },
    "name": "srift_send_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesPlaintext message string to encrypt and transmit

Output Schema

NameRequiredDescriptionDefault
successNoTrue if message was sent
timestampNoISO 8601 transmission timestamp

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false. The description adds real value beyond them by naming the end-to-end AES-256-GCM scheme, so an agent can reason about confidentiality. It omits delivery-failure behavior, ordering/duplication semantics implied by idempotentHint=false, and what happens without an active peer.

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 definition is one sentence with no filler, and it front-loads the action, mechanism and target. Nothing in it is redundant or padding, and every clause contributes.

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 definition need not describe return values, and it correctly focuses on transmission semantics and encryption. For a one-parameter, low-complexity tool it is nearly complete. The remaining gap is connection-state and failure behavior, which the annotations only partly cover.

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?

There is a single parameter, and schema coverage is 100%, so the schema already documents it as a plaintext string. The description confirms the semantics by saying the plaintext is encrypted and transmitted, which adds a little meaning rather than syntax. The baseline of 3 is appropriate for a high-coverage single-parameter schema.

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 sentence pairs a specific verb ("Send") with a specific resource ("chat message") and scopes it to "the connected peer", which separates the tool from sibling writes such as srift_send_file. It also states the encryption mechanism, which is a concrete implementation fact. The definition does not name a sibling alternative, so it is clear but not explicitly differentiated.

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 phrase "to the connected peer" implies a prerequisite, namely an established session with a peer; that gives the agent mild guidance about when the tool is applicable. However, it never states what to do if no peer is connected, never points at srift_send_file or srift_chat_history as alternatives, and gives no when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.