Skip to main content
Glama

Kiescy Documents

Use an imported document

apply_import

use=keep: the document becomes the imported text (own text, as a new draft version) so you can improve it while keeping its wording. use=answers: creates or updates the generated document using answers found in the import; significant ones are returned for the user to confirm instead of being applied.

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": {
      "type": "<type>",
      "import_id": "<import_id>",
      "use": "<use>"
    },
    "name": "apply_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
useYes
typeYes
templateNo
import_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes further by stating that keep creates a new draft version preserving the original wording, and that answers mode may create or update a generated document with significant answers returned for confirmation rather than applied. That confirmation step is valuable non-obvious behavior. It stops short of covering failure modes, idempotency, or what happens to the source import after the call.

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?

Two sentences, no filler, and the mode branches are front-loaded in the order an agent needs them. The phrasing is dense ('creates or updates the generated document using answers found in the import') but nothing is wasted.

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 mutation tool with no output schema, the description conveys the key side effects and the confirmation flow for sensitive answers, which is the main thing an agent must anticipate. The gaps are the unexplained required `type` and `import_id` parameters and the absence of any statement about what the call returns on success.

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% and only `use` is explained, but it is explained well beyond the bare enum values, including the consequence of each choice. The other three parameters — `import_id`, `type`, and `template` — receive no mention at all, so an agent must guess what a template identifier is or why the document `type` is required.

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 explains the two outcomes of the `use` mode but never states the overall action in a single clear verb+resource phrase — that an existing import is converted into either a draft document or an answered generated document. An agent can infer the purpose from the mode branches, but there is no differentiation from siblings such as import_document or create_document.

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 keep-vs-answers split effectively tells the agent which mode to pick and what each produces, which is genuine selection guidance. However, there is no guidance on when to call this tool at all versus import_document, analyze_document, or create_document, and no stated prerequisites such as the import needing to exist first.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources