Skip to main content
Glama

refresh knowledge

refresh_knowledge
Destructive

Recrawl an existing URL in place and retrain. Does not create a duplicate page.

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": {
      "chatbot_id": "<chatbot_id>",
      "source_id": "<source_id>"
    },
    "name": "refresh_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_idYes
chatbot_idYesSelected chatbot ID or demo token.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is carried by structure; the description adds that a retraining step occurs and that no duplicate is created. However, for a destructive recrawl it never says existing extracted content will be replaced, how long retraining takes, or whether progress is asynchronous, which leaves the main operational risk undocumented.

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?

Two tight sentences, with the core action front-loaded and the disambiguating clause second. No filler or restatement of the title.

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?

Return values need not be covered because an output schema exists, and the safety hints are in annotations, but for a two-required-parameter destructive tool the description omits any mapping of parameters to inputs and any note on retraining cost or side effects on existing content. Adequate to identify the tool, thin for calling it correctly.

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% and source_id has no description at all, yet the description never mentions either parameter by name or explains that source_id identifies the URL-bearing knowledge source. "Existing URL" hints at source_id at best; nothing compensates for the undocumented required parameter.

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

Purpose5/5

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

"Recrawl an existing URL in place and retrain" names a concrete verb (recrawl), a resource (an existing URL), and the follow-on effect (retrain), and the second sentence separates it from the add_knowledge_url sibling by stating no duplicate page is created.

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?

"Existing URL" and "in place" clearly delimit the case where this tool applies (a source already registered) versus adding new knowledge, and "does not create a duplicate page" reinforces that. It stops short of explicitly naming add_knowledge_url as the alternative or stating what to do if the URL is not yet known to the system.

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