Skip to main content
Glama

Refresh knowledge

refreshKnowledge

Read a knowledge item again: fetch a link again, read a file again or index a note again. Use it when a page changed or an item failed.

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": {
      "id": "<id>"
    },
    "name": "refreshKnowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already flag readOnlyHint=false and openWorldHint=true, so an agent knows this touches external sources and is not a pure read. The description adds that it re-indexes content and may be retried after failures, but does not say whether the old index entry is replaced, whether the call blocks until indexing finishes, or what permissions it requires. The opening verb 'Read' is mildly at odds with the mutation-flavored 'index again' phrasing, though the elaboration keeps it from being a real contradiction.

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: the operation with concrete variants first, the usage trigger second. No filler and nothing buried.

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?

No output schema exists, and the description omits what comes back (updated item, job status), whether re-indexing is synchronous, and how failures are reported despite explicitly targeting the 'item failed' case. Adequate for orientation, incomplete for a mutation with external side effects.

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?

With one parameter at 0% schema description coverage, the description carries the burden of explaining the sole input. It conveys that the id refers to a knowledge item, but not whether it is a knowledge-item id, a connector/source id, or a URL, and the schema itself imposes only length constraints.

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?

Names a specific operation and enumerates its concrete meanings per source type (re-fetch a link, re-read a file, re-index a note), so the agent knows this is more than a plain read. It does not explicitly name how it differs from updateKnowledge, syncKnowledgeConnector, or getKnowledge, leaving sibling differentiation to inference.

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?

'Use it when a page changed or an item failed' gives a clear triggering condition, which is genuinely actionable. It stops short of stating when *not* to use it (e.g., use updateKnowledge to change content, getKnowledge to just read it).

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.