Skip to main content
Glama

Knowledge Base Analytics

kb_analytics
Read-onlyIdempotent

How the help site is doing: article counts by state, most-viewed articles, top searches, and searches that returned nothing — the last being the most direct signal of what's missing.

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

Input Schema

NameRequiredDescriptionDefault
daysNoDefaults to 30

Output Schema

NameRequiredDescriptionDefault
articlesNo
topArticlesNo
topSearchesNo
searchMissesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the metric set, which is useful framing, but an output schema exists, so much of that return-value detail is redundant and no additional behavior (aggregation window, freshness, auth) is disclosed.

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?

A single front-loaded sentence with a clean colon-delimited list of metrics; every clause carries information. The casual opener 'How the help site is doing' is slightly informal but still earns its place as framing.

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?

The tool is simple: one optional parameter, an output schema, and full annotation coverage. The description conveys the metric scope well enough to call correctly, with only the time-window parameter and the analytics-vs-module_analytics boundary left unaddressed.

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 description coverage is 100% and the single 'days' parameter documents its default of 30 in the schema. The description never mentions the time window at all, so it adds no meaning beyond the schema; the high-coverage baseline of 3 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 the resource (the help site / knowledge base) and enumerates the exact metrics returned: article counts by state, most-viewed articles, top searches, and zero-result searches. It is clear what the tool reports, though it never contrasts itself with the sibling module_analytics, so the agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is only implied: the closing clause about zero-result searches being 'the most direct signal of what's missing' hints at a content-gap use case. There is no explicit when-to-use statement, no when-not, and no named alternative such as module_analytics.

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