Skip to main content
Glama

give_print_code

Destructive

Submit the exact approval code a person typed to approve one print or allow continued printing for a set time, then retry the start action.

Instructions

Relay the code the person typed after Kiln showed one on their screen.

        Also the answer when an order or making a design public waits for
        the person's yes and the reply says a code was shown
        (``code_next``): pass the code alone, then call that tool again.

        When a print is refused with "a code was just shown in a notification",
        ask the person to type it here, then pass their exact words: the code
        alone approves that one print; the code followed by ``2h`` or ``today``
        also keeps printing on that printer without asking for a while. Then
        call the start tool again. Nothing you can call reveals the code; a
        wrong guess counts, and three wrong guesses void every code for a minute.
        When the reply carries ``phone_next_time``, pass that one line on once
        the print has started.

        Args:
            words: Exactly what the person typed, e.g. ``4821`` or ``4821 2h``.
        

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": {
      "words": "<words>"
    },
    "name": "give_print_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
wordsYesExactly what the person typed, e.g. ``4821`` or ``4821 2h``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.1
    • addedInput schema / properties / words / description
      Added value: +"Exactly what the person typed, e.g. ``4821`` or ``4821 2h``."
  2. Addedv1.5.0

TDQS

A3.7/5.0
Behavior3/5

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

The description carries substantial behavior the annotations do not: a code alone approves one print, a code plus ``2h``/``today`` extends printing on that printer, wrong guesses count, and three wrong guesses void every code for a minute. Those are exactly the lockout and scope facts an agent needs. The score is held at 3 rather than higher because this critical safety information is buried in a dense paragraph rather than surfaced, and success/failure responses are never characterized.

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

Conciseness3/5

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

The first sentence is well front-loaded, but the remainder is a long, dense prose block mixing four distinct scenarios, and the trailing 'Args:' section merely restates the schema verbatim. It is informative but not tightly structured; scenario triggers would read better as discrete conditional statements.

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 approval tool with no output schema, it covers the major states an agent will encounter: pending code, code_next reply, refused print, lockout on repeated guessing, and the phone_next_time follow-up. What it omits is what a successful call returns and whether the approval is single-use versus persistent beyond the stated suffix behavior.

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%, so baseline is 3, but the body adds real meaning the schema lacks: it explains what the optional suffix does (``2h`` or ``today`` keeps printing on that printer without asking) and that the value must be the person's exact words. That is semantic content an agent could not get from the one-line schema description.

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 opening sentence gives a concrete verb and resource: relay the code the person typed after Kiln displayed one. It is distinguishable from siblings because it explicitly notes that 'nothing you can call reveals the code,' so an agent knows this is the human-in-the-loop relay, not a code generator. It stops short of a crisp one-line statement because the purpose is diffused across four scenario paragraphs.

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 enumerates several concrete triggers: a reply carrying ``code_next``, a print refused with 'a code was just shown in a notification', and the ``phone_next_time`` follow-up, plus the follow-on step ('call that tool again', 'call the start tool again'). It also warns against trying to discover the code by guessing. The gap is that the follow-up tools are referred to generically ('the start tool') rather than by name, so routing is left partly to inference.

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

Deploy Server

Other Tools