Skip to main content
Glama

locus_kg_stats

Retrieve statistics about the local knowledge graph, including node and edge counts, to assess index coverage and structure before querying or traversing stored entities.

Instructions

Knowledge graph statistics.

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

Input Schema

NameRequiredDescriptionDefault
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

D1.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and delivers almost none of it. It does not state that this is a read-only operation, whether it is cheap or expensive to compute on a large store, what the statistics cover, or what shape the response takes; a reasonable inference of read-only behavior is possible from the word "statistics" but is never confirmed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words are technically concise but represent under-specification rather than economy. There is nothing front-loaded because there is essentially no content, and no sentence conveys actionable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and an undocumented defaulted parameter, the description should have explained what statistics are returned and how to interpret the store path. Instead it leaves an agent unable to predict the return value or confirm the operation is safe and side-effect free.

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

Parameters1/5

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

The single parameter store_path has 0% schema description coverage, so the description is the only place that could explain what the path points to, that it defaults to '.locus', or what happens if it points to a non-existent store. The description says nothing about the parameter, leaving the coverage gap entirely unaddressed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a bare noun phrase, "Knowledge graph statistics," that essentially restates the tool name locus_kg_stats without a verb. It does signal the resource (knowledge graph) and that some statistics are returned, but gives no indication of what is measured or counted, so an agent cannot distinguish it meaningfully from siblings like locus_cache_stats, locus_doctor, or locus_inspect.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisite, and no mention of any alternative tool. Several siblings (locus_cache_stats, locus_inspect, locus_doctor, locus_export_kg) plausibly overlap in intent, and the description provides nothing to route between them.

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