Skip to main content
Glama

mempalace_update_drawer

Update a stored drawer by replacing its content or metadata, then reindex changed information. Use force_reindex to rebuild semantic chunks even when nothing appears altered.

Instructions

Update a drawer and reindex changed content or room metadata; optional force_reindex rebuilds unchanged chunks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomNoReplacement room; omit to preserve the current filing scope.
wingNoReplacement wing; omit to preserve the current filing scope.
contentNoReplacement body; omit to preserve existing content.
added_byNoReplacement creator label; omit to preserve the current value.
drawer_idYesIdentifier of the tenant-scoped drawer to update.
source_fileNoReplacement provenance label; omit to preserve the current value.
force_reindexNoRebuild semantic chunks even when content and scope appear unchanged.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomYes
wingYes
successYes
drawer_idYes
updated_fieldsYes
Behavior4/5

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

The description discloses that updates trigger reindexing of changed content/room metadata, and force_reindex rebuilds unchanged chunks, providing useful behavioral insight beyond the annotations. It does not detail other side effects or permissions, but annotations already indicate mutation and no destructive hint, so this is a solid addition.

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?

A single, front-loaded sentence conveys the core action and the optional reindex behavior with no wasted words. It is concise and well-structured.

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?

The description is sufficient for a moderate-complexity mutation tool given that the output schema exists and the schema covers all parameter meanings. It could benefit from explicit use-case guidance and side-effect disclosure, but it is not incomplete.

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% with detailed descriptions for all 7 parameters, so the description adds minimal extra semantic value. The only cross-reference is force_reindex, which matches the schema's 'Rebuild semantic chunks even when content and scope appear unchanged.'

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?

The description clearly identifies the tool as updating a drawer and reindexing changed content or room metadata, distinguishing it from sibling tools like mempalace_add_drawer or mempalace_delete_drawer. The verb 'Update' and object 'drawer' are specific and unambiguous.

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 description implies use for modifying an existing drawer but does not explicitly state when to choose this over alternatives or provide exclusions. No mention of 'use X instead' or prerequisites, leaving usage context implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nazar256/memheaven'

If you have feedback or need assistance with the MCP directory API, please join our Discord server