Skip to main content
Glama

Retry knowledge rebuild

retry_knowledge_rebuild
Idempotent

Start a knowledge base's rebuild again after it failed or was paused, as its screen's Retry does; nothing happens when its index is current.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "knowledge_base": "<knowledge_base>"
    },
    "name": "retry_knowledge_rebuild"
  }
}

Input Schema

NameRequiredDescriptionDefault
knowledge_baseYesThe knowledge base's name (or its id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, it discloses a meaningful behavioral trait: the call silently does nothing when the index is current. It also anchors the behavior to the UI's Retry action. It does not describe return values or permission requirements, but the annotations already establish non-destructive, idempotent behavior.

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 a single tight sentence, with the action and the failed/paused condition front-loaded before the no-op caveat. Nothing is redundant.

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 one-parameter retry operation with full annotation coverage and no output schema, the description supplies the key behavioral caveat and triggering context. Only the result of a successful retry is left unspecified.

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 schema already documents that the parameter accepts a name or id. 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?

The description states a specific verb and resource ('Start a knowledge base's rebuild again') and scopes it to a failed or paused rebuild. It does not explicitly name the sibling retry_knowledge_document, so the differentiation from document-level retry is left implicit.

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 clearly says when to use it (after failure or pause) and when it is a no-op (index already current). No alternative tool is named for related cases, but the triggering conditions are explicit.

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.