Skip to main content
Glama

List knowledge gaps

knowledge_gaps_list
Read-onlyIdempotent

Lists grouped retained knowledge gaps; these questions are not proof correction was published.

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID from agents_list or agent_create.

Output Schema

NameRequiredDescriptionDefault
gapsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedOutput schema / $defs / KnowledgeGap
      Removed value: -{
      -  "description": "Similar unanswered questions, grouped; ``id`` is the newest question's row.",
      -  "properties": {
      -    "asked_7d": {
      -      "title": "Asked 7D",
      -      "type": "integer"
      -    },
      -    "conversation_id": {
      -      "anyOf": [
      -        {
      -          "format": "uuid",
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "title": "Conversation Id"
      -    },
      -    "handoffs_7d": {
      -      "title": "Handoffs 7D",
      -      "type": "integer"
      -    },
      -    "id": {
      -      "format": "uuid",
      -      "title": "Id",
      -      "type": "string"
      -    },
      -    "last_asked_at": {
      -      "format": "date-time",
      -      "title": "Last Asked At",
      -      "type": "string"
      -    },
      -    "question": {
      -      "title": "Question",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "id",
      -    "question",
      -    "asked_7d",
      -    "handoffs_7d",
      -    "last_asked_at"
      -  ],
      -  "title": "KnowledgeGap",
      -  "type": "object"
      -}
    • addedOutput schema / $defs / PublicKnowledgeGap
      Added value: +{
      +  "properties": {
      +    "asked_7d": {
      +      "title": "Asked 7D",
      +      "type": "integer"
      +    },
      +    "conversation_id": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Conversation Id"
      +    },
      +    "handoffs_7d": {
      +      "title": "Handoffs 7D",
      +      "type": "integer"
      +    },
      +    "id": {
      +      "format": "uuid",
      +      "title": "Id",
      +      "type": "string"
      +    },
      +    "last_asked_at": {
      +      "format": "date-time",
      +      "title": "Last Asked At",
      +      "type": "string"
      +    },
      +    "question": {
      +      "title": "Question",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "question",
      +    "asked_7d",
      +    "handoffs_7d",
      +    "last_asked_at"
      +  ],
      +  "title": "PublicKnowledgeGap",
      +  "type": "object"
      +}
    • changedOutput schema / properties / gaps / items / $ref
      Previous value: -"#/$defs/KnowledgeGap"New value: +"#/$defs/PublicKnowledgeGap"
  2. Changed1 schema field changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Agent ID from agents_list or agent_create."
  3. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description does add one genuine interpretive caveat — that listed questions are not proof a correction was published — but it is phrased ambiguously enough that the agent may misread it, and it says nothing about ordering or grouping semantics.

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?

It is short and front-loads the core action, which is good. But the second clause ('these questions are not proof correction was published') is grammatically broken and reads as a fragment, costing clarity that a slightly longer rewrite would have bought.

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

Completeness3/5

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

An output schema exists, so the return shape needn't be described. Still, for a tool sitting among three closely related gap tools, the definition leaves the agent without enough to route confidently, and the meaning of 'grouped' is never explained.

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?

Only one parameter, agent_id, and the schema already documents it at 100% coverage including its source (agents_list or agent_create). The description adds no further meaning about the parameter, so the 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?

States a specific verb and resource ('Lists grouped retained knowledge gaps'), so an agent knows this is a read/list operation over gap entities. However 'grouped retained' is unglossed jargon and the description never distinguishes this from the sibling workspace_knowledge_gaps or knowledge_gap_read.

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 and no alternative named. An agent cannot tell from this text whether to call this versus knowledge_gap_read (single gap) or workspace_knowledge_gaps (workspace scope), which is the main routing decision it faces.

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