Skip to main content
Glama

Reindex Website Source and Wait

ethora-sources-site-reindex-v2-wait
Idempotent

Re-crawl and re-embed a previously crawled URL, then wait for the job to finish. Returns status, job ID, and result once completed or failed.

Instructions

Re-crawl and re-embed a previously crawled URL and wait for it to finish: enqueues the job, then polls it until it reports completed or failed. Returns { done, status, jobId, polls, durationMs, result }; done: false with a note means the budget ran out while the job was still running. Requires: an indexed site URL from ethora-sources-site-list-v2 (crawled with ethora-sources-site-crawl-v2). Auth: app-token mode OR B2B mode with an explicit appId. Errors: 401/403 wrong auth; 404 unknown appId or urlId; 504/timeout if it takes longer than timeoutMs (the job may still complete server-side). Related: get urlId from ethora-sources-site-list-v2.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdNo24-char hex appId the URL belongs to. Required in B2B mode unless already set via `ethora-app-select`; ignored in app-token mode.
urlIdYesId of a previously crawled URL record. Get it from `ethora-sources-site-list-v2`.
timeoutMsNoHow long to poll for the reindex to finish, in milliseconds. Default 45000, chosen to stay under the ~60s request timeout most MCP clients enforce. Caps at 600000 (10 min) for clients that allow longer calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv26.9.3

TDQS

A4.5/5.0
Behavior5/5

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

The description discloses the full lifecycle: job enqueueing, polling until completed/failed, the done:false/note budget-exhaustion case, the auth modes, the specific 401/403/404/504 errors, and the fact that a timeout may still leave the job running server-side. Even with idempotentHint=true and readOnlyHint=false present, this text adds meaningful behavior beyond the annotations.

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 dense but every sentence carries information: purpose, return value, prerequisites, auth requirements, error semantics, and related tools. Information is front-loaded with the tool's core behavior before the polling details. No filler or tautology.

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

Completeness5/5

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

For a tool with no output schema, the description compensates by specifying the returned fields, the partial-result note, timeout behavior, and error cases. Combined with the 100%-covered input schema, an agent has everything needed to invoke this tool correctly and handle its edge cases.

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%, so the schema already documents appId, urlId, and timeoutMs well. The description adds context about why timeoutMs defaults to 45s and that appId is required in B2B mode, but it mostly reinforces schema-level meaning rather than introducing new parameter semantics. A baseline 3 is appropriate.

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?

The description uses a specific verb pair ('re-crawl and re-embed'), names the exact resource (a previously crawled URL), and immediately distinguishes the wait behavior from the non-wait sibling by explaining it enqueues then polls. The return shape is stated, so an agent can tell this tool apart from ethora-sources-site-reindex-v2 and ethora-sources-site-crawl-v2-wait without inspecting schemas.

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?

The description clearly states prerequisites: the URL must already be indexed from ethora-sources-site-list-v2 and crawled with ethora-sources-site-crawl-v2. It explains when the wait matters (polls until completed/failed, budget-exhaustion note) and gives related tool references, though it does not explicitly say 'use the non-wait variant if you do not need to block'.

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

Deploy Server

Other Tools