Skip to main content
Glama

list_knowledge_gaps

Identify documentation gaps by ranking queries that returned no results or were rated unhelpful, using shared API logs when authorized or local logs otherwise.

Instructions

Review what the documentation is missing: queries that returned nothing or were rated unhelpful, ranked by how often they were asked. For the API owner. Uses the API's shared GET /gaps (all agents combined) when available and authorized, otherwise this machine's local log.

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose important behavior: the tool reads from a shared API endpoint when available and authorized, otherwise falls back to the local machine's log. It also states that results are ranked by frequency, though it omits return format details.

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?

The description is three tight sentences, front-loaded with purpose and audience, and every sentence adds useful information about what is reviewed or where the data comes from.

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 simple list tool with one optional parameter, no output schema, and no annotations, the description covers purpose, audience, data source, authorization fallback, and ranking. The main gap is that the 'limit' parameter is not explained.

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?

There is one parameter, 'limit', with 0% schema description coverage, and the description does not mention it at all. The parameter name and default are self-evident, but the description fails to compensate for the schema's lack of semantic detail.

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 clearly states a specific verb and resource: reviewing documentation gaps based on unhelpful or empty queries ranked by frequency. It is distinguishable from siblings like search_documents or recent_failures, though it does not explicitly name alternative tools.

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?

It gives clear usage context by stating the tool is 'For the API owner' and explains the data-source selection rule: shared GET /gaps when authorized, otherwise local log. It does not provide explicit when-not-to-use guidance or name alternatives.

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