Skip to main content
Glama

palace_add_drawer

Files verbatim content into a project wing and room, checking for duplicates first to prevent redundant memory entries.

Instructions

File verbatim content into the palace. Checks for duplicates first.

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": {
      "wing": "<wing>",
      "room": "<room>",
      "content": "<content>"
    },
    "name": "palace_add_drawer"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomYesRoom (aspect)
wingYesWing (project name)
contentYesVerbatim content to store
added_byNoWho is filing this (default: mcp)
source_fileNoWhere this came from (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.5

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose one valuable trait: an internal duplicate check runs before filing. However, it does not say what happens when a duplicate is detected (error, skip, merge, return existing), whether the write is persistent or reversible, or that this is a mutation.

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 short sentences with zero filler, and the core action is stated first. It is appropriately terse, though the brevity tips toward under-specification for a write tool rather than maximal efficiency.

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

Completeness2/5

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

This is a five-parameter mutation tool with no annotations and no output schema, so the description must cover return behavior and failure modes itself. It omits what the tool returns, whether duplicate detection produces a different outcome than a normal insert, and any side effects such as indexing or linking — a significant gap for a write operation.

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 100%, so every one of the five parameters is already documented, including the optional added_by and source_file. The description adds almost nothing beyond the schema; 'verbatim content' loosely echoes the content parameter but supplies no format or sizing expectations.

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 verb 'File' plus the resource 'verbatim content into the palace' clearly identifies this as a create/add operation on stored content, and 'verbatim' signals no transformation of the input. It is clear on its own, but it never distinguishes itself by name or intent from siblings like palace_update_drawer or palace_check_duplicate, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

The only implicit guidance is 'Checks for duplicates first,' which hints that a separate duplicate check may be unnecessary, but that is about internal behavior rather than when to choose this tool. There is no statement of prerequisites (e.g., wing/room must exist) or of when to use palace_update_drawer instead.

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