Skip to main content
Glama
finch-shell-mcp
by hlint

Write to a job stdin

job_send

Sends stdin data to a standing-by job using its cursor, with text or hex input, optional wait, and optional input close; no newline is appended.

Instructions

Accepted only while standing_by. cursor is required. No newline is added. Provide exactly one of input or input_hex.

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": "job_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoinput
cursorNocursor
job_idNojob_id
wait_msNowait_ms
input_hexNoinput_hex
close_afterNoclose_after

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does contribute real behavioral detail: the standing_by state gate, the fact that no newline is appended (critical for raw stdin writes), and the mutual exclusion of input/input_hex. It omits error behavior, what wait_ms blocks on, what close_after does, and what the call returns, leaving meaningful gaps for a mutating I/O tool.

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?

Four terse sentences, front-loaded with the state precondition and zero filler; each sentence carries a distinct constraint. The tradeoff is that constraint density crowds out a plain statement of what the tool does, so it is efficient but slightly mis-ordered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with no annotations and no output schema, the description covers preconditions and parameter exclusivity but says nothing about job_id, wait_ms, close_after, or the result of the call. It is adequate to avoid the most common misuse (writing while not standing_by) but not complete for correct invocation across all six parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, establishing a baseline of 3, but the description adds semantics the schema does not: input and input_hex are mutually exclusive and exactly one must be supplied, and cursor is required even though the schema declares zero required properties. Naming the input_hex alternative explicitly helps an agent choose the right encoding parameter.

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

Purpose3/5

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

The description never states a verb+resource; it opens with a precondition ("Accepted only while standing_by") and derives its meaning largely from the title "Write to a job stdin." An agent can infer it sends data to a job's stdin, but the description itself does not say so, and it does not differentiate the tool from siblings like job_read or exec.

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?

"Accepted only while standing_by" is a genuine gating condition that tells the agent when the call will succeed, which is useful. However, it offers no exclusions or alternatives (e.g., what to call when the job is not standing_by, or when to prefer exec/fs_write instead).

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