Skip to main content
Glama
liqiangcc

agent-runtime-mcp

by liqiangcc

write_text

Destructive

Send ordinary Unicode terminal text to an existing interactive channel and optionally append ENTER, enabling control of shell or agent CLI sessions via MCP.

Instructions

Deliver bounded ordinary Unicode terminal text to one existing channel. LF/TAB are allowed; explicit controls use send_control.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesOrdinary terminal text; maximum 1 MiB UTF-8, excluding non-LF/TAB control characters.
submitYesAppend one explicit ENTER only after text transport succeeds.
channel_idYesOpaque channel identifier returned by list_channels.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish destructiveHint=true and non-idempotency, so the safety profile is covered. The description adds valuable context beyond annotations: the text is bounded, LF/TAB are the only allowed control characters, and the target must be an existing channel. This helps the agent predict behavior and constraints without contradicting any annotation.

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?

A single, two-clause sentence front-loads the core purpose and constraint, then immediately resolves the main ambiguity with send_control. Every word earns its place; no filler or redundancy.

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 three-parameter write tool with a destructive annotation, the description supplies the essential selection and invocation context: what can be sent, where it goes, and when to use the sibling tool. It doesn't explain return values or error behavior, but no output schema exists and the schema's parameter descriptions cover the required details.

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 coverage is 100%, and the schema already documents each parameter thoroughly (1 MiB limit, control-character exclusion, submit semantics, channel_id provenance). The description reinforces some of this ('bounded', 'LF/TAB allowed') but adds no new parameter-level meaning beyond what the schema provides, so a baseline 3 is appropriate.

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 names a specific verb ('Deliver'), a precise resource ('one existing channel'), and key constraints ('bounded ordinary Unicode terminal text'). It also explicitly distinguishes itself from the sibling send_control by reserving control sequences for that tool, so an agent can immediately tell them apart.

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

Usage Guidelines4/5

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

It provides an explicit usage boundary: ordinary text with LF/TAB is for this tool, while explicit controls should go to send_control. It also notes the channel must already exist, which implies first using list_channels. It does not exhaustively state when not to use it versus read-oriented siblings, but the distinction is clear.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liqiangcc/agent-runtime-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server