Skip to main content
Glama

palace_embeddings

Manage embedding models: list and check status, estimate migration cost, rebuild vectors in the background, verify quality, then cut over or roll back safely.

Instructions

Embedding model management. action=list shows models; status shows the active model and any migration; estimate measures cost of switching to model on this machine; migrate rebuilds every vector for model in the background while search keeps working, verifies it on this palace, and switches only if it is at least as good; verify/cutover/rollback/cleanup/cancel run single steps. Switching models is the user's choice: run estimate, migrate, cutover, rollback or cleanup only when the user asks for it, never on your own initiative.

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_embeddings"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNocutover/migrate: switch even if verify failed
modelNoModel id for estimate/migrate (see action=list)
actionNoWhat to do (default: status)
sampleNoverify: number of probes (default 200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.5

TDQS

A4/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 behavioral burden and does well: it discloses that migrate rebuilds every vector in the background while search stays available, verifies on this palace, and only cuts over if quality is at least as good. It omits failure/partial-failure behavior (what a failed verify leaves behind, whether cancel is clean, whether force is irreversible), which prevents a 5.

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?

Front-loaded opening identifies the resource, then each action is glossed in compact semicolon-separated clauses, and the safety constraint closes the description. Dense but no filler; the only cost is that the long middle sentence requires careful parsing.

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 nine-action, four-parameter mutation-heavy tool with no annotations and no output schema, the description covers every action's effect and the default behavior, and implicitly signals what each action surfaces (model list, active model plus migration state, estimated cost). Nothing an agent needs to choose and call an action correctly is missing.

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 all four parameters including the action enum are already documented in structured form. The description reinforces which parameters pair with which action (model for estimate/migrate, force for cutover/migrate) but adds no format or constraint detail beyond the schema, matching the baseline 3.

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 states the resource (embedding model management) and enumerates all nine actions with a specific verb-plus-effect gloss for each, so an agent understands exactly what the tool covers. It does not explicitly contrast itself with the sibling palace_upgrade_embeddings, which is a plausible point of confusion, so it stops short of 5.

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

Usage Guidelines4/5

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

Strong guidance: switching models is framed as the user's decision, with an explicit when-to-use rule ('run estimate, migrate, cutover, rollback or cleanup only when the user asks for it, never on your own initiative'). The migrate workflow context (background rebuild, search keeps working, verify-then-switch) is also spelled out, though no named alternative tool is offered.

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