Skip to main content
Glama

palace_explain

Retrieves full provenance for a memory drawer, including who filed it, when, source file, and importance, to ground retrieved context.

Instructions

Return full provenance for a drawer: who filed it, when, from which source file, and its importance.

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": {
      "id": "<id>"
    },
    "name": "palace_explain"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDrawer ID to explain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.5

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. "Return" implies a read-only, non-mutating operation and the payload fields are disclosed, but it says nothing about error behavior for a bad ID, permissions, or output shape beyond the field list. Adequate but incomplete for a no-annotation tool.

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?

One sentence, zero filler, with the verb and the returned payload front-loaded. Every clause earns its place by enumerating a distinct piece of provenance.

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 simple one-parameter read tool with no output schema, listing the returned fields is exactly the right level of detail. Only minor gaps remain — error behavior and relationship to palace_get_drawer.

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 the single parameter is already documented as "Drawer ID to explain." The description's mention of "a drawer" adds no format, source, or lookup guidance beyond the schema, so the baseline 3 applies.

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 description pairs a specific verb ("Return full provenance") with a specific resource (a drawer) and enumerates the returned fields — who filed it, when, source file, importance. That distinguishes it from a plain content fetch like palace_get_drawer, though it never names that sibling explicitly.

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?

Usage is only implied: an agent can infer this is the tool for provenance/audit questions rather than content retrieval. There is no explicit statement of when to prefer it over palace_get_drawer or palace_list_drawers, and no note on what happens if the ID is unknown.

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