Skip to main content
Glama

palace_graph_stats

Returns read-only room-graph summary statistics—total rooms, rooms per wing, bridging rooms, and top bridges—to help map project overlap before tunnel or traversal queries.

Instructions

Return summary statistics for the room graph: total rooms, how many rooms bridge two or more wings, rooms per wing, and the top bridging rooms. Read-only, no arguments. Use it for a quick map of how projects overlap before calling palace_find_tunnels or palace_traverse; for knowledge-graph counts use palace_kg_stats.

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

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 disclose the key traits: 'Read-only, no arguments', plus a concrete enumeration of the returned metrics so the agent knows the shape of the result even without an output schema. What it lacks is any note on cost, caching, or size of the response for large graphs, so it falls just short of fully complete behavioral disclosure.

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?

Two sentences, both front-loaded: the first states what is returned (the primary selection signal), the second states when to call it and what to call instead. No filler, no restatement of the name, and the sibling routing is compact rather than exhaustive.

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 stats tool with no output schema, the description covers everything needed: inputs (none), read-only safety, the metrics returned, and the placement of the tool relative to its graph-traversal and KG-counter siblings. An agent has enough to decide and invoke correctly.

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 zero parameters, which sets the baseline at 4 per the rubric. The description correctly reinforces this with 'no arguments', leaving no ambiguity for the agent about supplying input.

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 ('Return summary statistics for the room graph') and enumerates exactly what is summarized: total rooms, rooms bridging two or more wings, rooms per wing, and top bridging rooms. It also explicitly separates itself from palace_kg_stats ('for knowledge-graph counts use palace_kg_stats'), so the agent can distinguish it without opening any schema.

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?

Gives an explicit use case ('a quick map of how projects overlap') and names the follow-on alternatives it should precede (palace_find_tunnels, palace_traverse). It also names the exclusion condition, routing knowledge-graph counting to palace_kg_stats, which covers when-not-to-use as well.

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