Skip to main content
Glama

Count what a site publishes

site_index
Read-only

Everything a site publishes, counted from its own robots.txt and sitemaps: pages by type (blog, tool, compare, docs, pricing, landing), the biggest sections, the newest update, and where it speaks to agents (llms.txt, MCP, OpenAPI, API docs, a skill file). Free. Free: nothing is charged. Needs the write scope.

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": {
      "domain": "<domain>"
    },
    "name": "site_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain, e.g. "postiz.com" (any URL on the site works).
budgetUsdNoOptional: the most this call may spend, in dollars, default 2, max 10.

Output Schema

NameRequiredDescriptionDefault
toolYes
mediaYes
outputNoThe tool's own result, shaped by the tool.
chargedUsdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so the safety profile is covered elsewhere. The description does add genuinely useful context the annotations lack — the data sources (robots.txt and sitemaps) and the authorization requirement ('Needs the write scope') — but that requirement sits in tension with a read-only operation and is stated without explanation, and the cost claim is repeated verbatim rather than clarified.

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

Conciseness3/5

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

The opening clause is well front-loaded and the output enumeration is informative, but 'Free. Free: nothing is charged.' is a duplicated sentence that wastes space and reads like an unedited artifact. The closing 'Needs the write scope' is a fragment tacked on without context.

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?

With an output schema present, the description needn't explain return values, yet it usefully previews the counted categories anyway; annotations cover the safety profile and the schema covers the inputs. The remaining gaps — routing against alternatives and any rate/caching behavior for an open-world network call — are secondary.

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 100%, so both parameters are already documented, and the description adds no meaning about `domain` or `budgetUsd`. Worse, 'Free. Free: nothing is charged.' sits awkwardly against a schema whose `budgetUsd` defaults to $2 with a $10 cap, which risks confusing an agent about whether the call can incur spend — that subtracts rather than adds.

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?

The description states a specific verb and resource — counting everything a site publishes, sourced from its own robots.txt and sitemaps — and enumerates the output categories (pages by type, biggest sections, newest update, agent-facing surfaces). That is concrete and distinguishable from the sibling tools, though it never explicitly names an alternative for comparison.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of what a caller should do instead for other kinds of site analysis, and no described preconditions beyond the abrupt 'Needs the write scope.' The agent must infer the triggering scenario purely from the purpose statement.

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.