Skip to main content
Glama

Graph rebuild

graph_rebuild

Rebuild the studio's relationship graph from the live data (bookings, sessions, instructors, credentials, memberships, referrals). Returns the edge count. Runs nightly automatically; call to refresh on demand.

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": "graph_rebuild"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the description's job is to add operational context. It does: the rebuild is computed from live source tables and the return value is the edge count, which tells the agent the graph is regenerated rather than incrementally patched. It omits cost/duration and concurrency behavior, which would matter for a full rebuild.

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 sentences, zero filler, and the core action is front-loaded before the scheduling note and the return-value note. Every sentence carries information the agent needs.

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 zero-parameter tool with no output schema, the description covers action, data sources, return value (edge count) and invocation cadence. The remaining gap is scale/expense guidance for a full rebuild, which is a minor omission rather than a blocking one.

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, so there is no parameter semantics to explain; the description correctly avoids inventing any. The baseline for a zero-parameter tool applies.

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 names a specific verb and resource ('Rebuild the studio's relationship graph') and enumerates the source data it reads from (bookings, sessions, instructors, credentials, memberships, referrals). That is enough to distinguish it from the graph_* siblings, which are query-oriented, though the description never names them explicitly.

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?

States a clear operating context: the graph is rebuilt nightly automatically, and this tool is for an on-demand refresh. That tells the agent when to invoke it, but gives no exclusion guidance such as when a refresh is unnecessary or what happens if it is called repeatedly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources