Skip to main content
Glama

palace_get_drawer

Retrieve a stored memory drawer by ID to read its full content, location details, source file, importance, timestamps, and metadata; returns an error if the ID does not exist.

Instructions

Fetch one drawer (a stored memory chunk) by its id, with its full content, wing, room, hall, source file, importance, timestamps and metadata. Read-only; returns an error if the id does not exist. Use it to read the whole drawer behind a search hit or citation; use palace_explain for provenance only and palace_search when you do not know the id.

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": {
      "drawer_id": "<drawer_id>"
    },
    "name": "palace_get_drawer"
  }
}

Input Schema

NameRequiredDescriptionDefault
drawer_idYesDrawer id, as returned by palace_search or palace_list_drawers

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.20.7
    • addedInput schema / properties / drawer_id / description
      Added value: +"Drawer id, as returned by palace_search or palace_list_drawers"
  2. First observedv0.20.5

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantive work: it declares the operation read-only, states the failure mode (error on a nonexistent id), and specifies the returned fields. The only remaining gaps are minor for a single-record read — no note on content size limits, truncation, or whether missing optional metadata is omitted or null.

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?

Two sentences with zero filler: the core operation and its return contents come first, then constraints, then routing to alternatives. Every clause is load-bearing and the front-loading lets an agent decide quickly.

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

Completeness5/5

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

For a one-parameter read tool with no output schema, the description supplies what the schema cannot: the returned field set, the read-only nature, and the error condition. An agent has everything needed to call it correctly and interpret the result.

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 coverage is 100% and there is only one parameter, whose schema already says it is the id returned by palace_search or palace_list_drawers. The description's 'by its id' adds no format, validation, or sourcing detail beyond that, so the baseline 3 applies.

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 specific verb (fetch) and resource (one drawer by id), defines 'drawer' inline as a stored memory chunk, and enumerates exactly what comes back (content, wing, room, hall, source file, importance, timestamps, metadata). That detail makes it immediately distinguishable from list-style or search-style siblings.

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

Usage Guidelines5/5

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

Gives an explicit positive trigger ('read the whole drawer behind a search hit or citation') and two named alternatives with the condition that selects each: palace_explain for provenance only, palace_search when the id is unknown. Nothing is left to inference.

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