Skip to main content
Glama

send_to_instance

Send validated patches to a running plugin instance's test bin for live audition; invalid patches are blocked, and replace clears existing patches first.

Instructions

Put patches in an instance's TEST BIN (right side of the plugin), where the user clicks to audition them live and saves the keepers. Validates every patch first (nothing is written if one is invalid). Patches are numbered after the existing ones; replace=true clears the test bin first. Render and check them before sending.

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": {
      "instance": "<instance>",
      "patches": "<patches>"
    },
    "name": "send_to_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchesYes
replaceNo
instanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  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?

With no annotations, the description carries real weight and does so: it discloses atomic validation ('nothing is written if one is invalid'), append-only numbering after existing patches, and that replace=true clears the bin first — a destructive side effect called out explicitly. It omits permissions requirements and what the response contains.

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?

Four short sentences, front-loaded with the destination and action, then validation semantics, then the replace flag, then the precondition. No filler and each sentence carries distinct information.

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 3-parameter write tool with no output schema and no annotations, the description covers destination, validation behavior, ordering, replace semantics, and a prerequisite. Remaining gaps are the return value (e.g. assigned indices) and the instance identifier format.

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 0%, so the description must compensate. It explains 'replace' precisely and conveys that 'patches' is a list of validated patch objects appended after existing ones, but 'instance' is only implied as an instance reference with no format (name vs. id) given.

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?

States a concrete verb and target: putting patches into a named instance's TEST BIN, with a parenthetical locating it in the plugin UI. An agent knows exactly what the call accomplishes and how it differs from a generic load/save operation.

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?

The description establishes the use case (queue patches for live audition and keeper-saving) and adds a sequencing rule: 'Render and check them before sending'. It does not explicitly name alternatives (e.g. validate_patch or load_preset) or say when not to use it, so it stops short of full routing guidance.

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