Skip to main content
Glama

resync-knowledge

Recrawl a website or re-index a file to refresh an agent's knowledge source after content changes. Provide the agent ID and file ID from list-knowledge.

Instructions

Read a knowledge source again: a website is crawled again from the web (e.g. after the site changed), a file is re-indexed. Get the fileId from list-knowledge.

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": {
      "agentId": "<agentId>",
      "fileId": "<fileId>"
    },
    "name": "resync-knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesThe knowledge source ID (fileId from list-knowledge)
agentIdYesThe agent ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does explain the underlying effect (web page re-crawled, file re-indexed), which is real value, but it never says whether the operation is synchronous or long-running, whether the existing index is replaced or duplicated during the resync, or what permissions/quota it needs. Opening with 'Read' also frames a side-effecting trigger operation as if it were a passive read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the prerequisite. The phrasing 'a website is crawled again from the web' is slightly redundant but no sentence is wasted.

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?

With no annotations and no output schema, the description must cover the safety and timing profile of a re-index trigger, and it only partly does. It is complete on intent and parameter sourcing but silent on duration, idempotency, and whether the previous crawl is discarded.

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 coverage is 100% and the schema already labels fileId as 'The knowledge source ID (fileId from list-knowledge)', so the description's provenance hint largely restates structured data. agentId is never mentioned in the description, though the schema covers it. Baseline 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 action and resource: re-crawl a website source or re-index a file source. The two concrete cases (site changed / file re-indexed) make the verb unambiguous, and the pointer to list-knowledge anchors it against a sibling. It does not distinguish itself from add-website-knowledge, which an agent might confuse with the 'crawl again' path.

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?

Gives a clear triggering condition ('after the site changed') and an explicit prerequisite workflow ('Get the fileId from list-knowledge'). Missing are exclusions such as when not to resync (e.g. source newly added), and no note on alternatives for creating vs re-syncing a source.

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