Skip to main content
Glama

ao_kg_stats

Retrieves knowledge graph statistics for a vault, helping agents inspect the size and composition of stored temporal triples.

Instructions

Get 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": "ao_kg_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
principalNoUser/agent id to act as (ACL + audit actor); ignored if the server pins $OMPA_PRINCIPAL
vault_pathNo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.4/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 disclosure burden and delivers almost nothing. Read-only nature and safety are only implied by the verb "Get"; there is no mention of permissions/principal scoping, cost, or what the response shape looks like.

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

Conciseness3/5

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

A single six-word sentence with no wasted words, but also no structure or front-loaded detail beyond the bare operation name. Brevity here reflects under-specification rather than disciplined concision.

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 partial parameter coverage, the description should explain what the statistics comprise and how the vault/principal scope affects them. It supplies none of that, so an agent cannot predict the result of calling it.

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

Parameters2/5

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

Schema coverage is 50%: principal is documented in the schema but vault_path is not. The description mentions neither parameter, so it does nothing to clarify vault scoping or that principal drives ACL/audit — the very context an agent needs for a read scoped to a vault.

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

Purpose3/5

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

States a specific verb and resource ("Get knowledge graph statistics"), so the agent knows the general operation. However, it never says what statistics are returned (counts, node/edge breakdowns) or how this differs from adjacent tools like ao_status or ao_kg_query, leaving the purpose only broadly defined.

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

Usage Guidelines2/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 exclusions, and no mention of prerequisites. The agent has no signal on when to call this rather than ao_status or ao_kg_query; usage must be inferred entirely from the name.

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