Skip to main content
Glama

palace_project_status

Check whether a project or topic is already known to memory and get a state (mined, registered_not_mined, unknown) plus a recommended next step before mining or creating a wing.

Instructions

Check whether the current project or topic is known to the palace. Returns a state (mined / registered_not_mined / unknown) plus a recommendation. Call this when entering a workspace; if it is unmined, ask the user before calling palace_mine, and offer palace_create_wing for non-repo topics.

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": {
      "project_path": "<project_path>"
    },
    "name": "palace_project_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
wingNoOptional explicit wing name to check instead of deriving one from the path
project_pathYesAbsolute path to the project/workspace directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.5

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden; it discloses the return vocabulary (mined / registered_not_mined / unknown) plus a recommendation field, and it frames the operation as a pre-flight check rather than a mutation. It does not explicitly state that the call is read-only/no-side-effect, nor what happens when the path is invalid or the palace is unreachable.

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?

Roughly three sentences, front-loaded with the purpose and return states before the workflow advice. Dense but essentially waste-free; a slight readability cost from packing state names and multiple tool references into one sentence.

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 two-parameter read check with no output schema, the description supplies what the agent needs: the trigger, the outcome states, and the next-tool branches. Missing only edge-case behavior (invalid path, unknown wing) and any hint about the shape of the 'recommendation'.

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%, so both parameters are already documented, including the wing override and its derivation-from-path behavior. The description adds only the situational framing (current project or topic) and does not clarify precedence when both wing and project_path are supplied.

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 uses a specific verb ('Check') and a well-defined resource ('whether the current project or topic is known to the palace'), and it even enumerates the possible outcomes (mined / registered_not_mined / unknown). It stops short of distinguishing this check from the sibling 'palace_status', which an agent could plausibly confuse it with.

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?

It states the trigger condition explicitly ('Call this when entering a workspace') and then prescribes the follow-up branch: ask the user before calling palace_mine if unmined, and offer palace_create_wing for non-repo topics. That is an unusual level of routing detail, including a human-in-the-loop caution.

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