Skip to main content
Glama

palace_hook_settings

Check whether automatic client hooks for periodic memory saves and pre-compaction context saves are enabled. Use this read-only tool to verify hook behavior; install hooks via the Palace CLI.

Instructions

Report whether Palace's automatic client hooks are enabled: save_enabled (periodic memory saves during a session) and precompact_enabled (saving before the client compacts context). Read-only, no arguments, and both are currently always true. Use it only to check hook behaviour; hooks themselves are installed with the palace CLI, not through MCP.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "palace_hook_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.5

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does so well: it declares read-only behaviour, zero arguments, and critically that both values are currently always true, which signals to the agent that the call is effectively a constant read rather than a diagnostic that can vary. It only stops short of stating what the response looks like structurally or how failures/absent hooks are reported.

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?

Three short clauses, front-loaded with the action and the returned fields, followed by the safety/constant-value caveat and the CLI routing note. Every sentence adds information an agent needs and nothing is repeated.

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 zero-parameter, read-only boolean report with no output schema, the description names the two fields returned, their meaning, their current constant state, and where the underlying configuration actually lives. Nothing material for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters and the description explicitly confirms 'no arguments', so there is nothing to misunderstand. Baseline for a zero-parameter tool with an empty schema.

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 and resource ('Report whether Palace's automatic client hooks are enabled') and immediately names the two flags it reports on, defining each in parentheses. It also draws a boundary the agent can act on by saying hooks are installed via the palace CLI, not MCP, so it is not confused with a configuration tool.

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?

Explicitly says to use it only to check hook behaviour, and names the alternative mechanism (the palace CLI) for actually installing or changing hooks. That is a clear when-to-use plus a when-not-to-use/where-else routing statement.

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