Skip to main content
Glama

Build an IndexNow POST body

build_indexnow_payload

Validates a key and URL list against the IndexNow spec and returns the exact JSON POST body, the endpoint, a ready-to-run curl command, and the reason for every URL it dropped. Enforces the same-host rule, the 10000-URL batch limit, https/http consistency, fragment stripping and de-duplication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe IndexNow key, 8-128 characters of [a-zA-Z0-9-].
hostNoThe host, e.g. example.com. Inferred from the first URL if omitted.
engineNoindexnow (default), bing, yandex, seznam or naver.
urlListYesAbsolute URLs to submit. All must be on the same host.
keyLocationNoOptional URL of the key file if it is not at https://host/<key>.txt.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses that URLs are validated, that specific rules are enforced (same-host, 10000 limit, https/http consistency, fragment stripping, de-duplication), and that it returns reasons for dropped URLs. It does not explicitly mention error behavior for invalid keys, but 'validates' implies this, making the transparency strong.

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 two sentences, each dense with distinct information: the first covers purpose and outputs, the second lists enforcement rules. There is no fluff or redundancy, and it is front-loaded with the tool's core function.

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?

Given the tool has 5 parameters, no output schema, and moderate complexity, the description is quite complete: it explains what is returned (body, endpoint, curl, dropped URL reasons) and the validation rules applied. It could clarify what happens on invalid key or non-URL inputs, but overall it provides enough context for an agent to select and use the tool effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already covers all parameters with descriptions (100% coverage), so baseline is 3. The description adds meaning by introducing constraints not present in the schema: the 10000-URL batch limit, https/http consistency, fragment stripping, and de-duplication, which notably apply to the urlList parameter. This enriches the agent's understanding of parameter validation expectations.

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 clearly states the tool's purpose with a specific verb ('validates' and 'returns'), the resource (IndexNow POST body), and the concrete outputs (JSON body, endpoint, curl command, dropped URL reasons). It distinguishes itself from the sibling validate_indexnow_key tool by focusing on building a payload and validating both key and URL list, not just the key.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage is implied by the tool's name and description (build a payload, validate key/URLs), but there is no explicit mention of when to use this tool over validate_indexnow_key or diff_sitemaps. No alternatives are named or excluded, so the agent receives no direct comparative guidance.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: building payloads, diffing sitemaps, and validating keys. There is no overlap or ambiguity in their responsibilities.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: build_indexnow_payload, diff_sitemaps, validate_indexnow_key. The naming is uniform and predictable.

Tool Count5/5

With only 3 tools, the set is tightly scoped to the IndexNow workflow. Each tool earns its place and the count is appropriate for the server's purpose.

Completeness5/5

The toolkit covers the essential IndexNow steps: key validation, URL discovery via sitemap diffing, and payload generation. Submission is handled externally via the generated curl command, which is a reasonable boundary. No significant gaps are apparent.

Resources