Skip to main content
Glama

discover_persona_brief_pages

discover_persona_brief_pages

Find the representative pages of a website from its sitemaps, before generating a persona brief (free tool)

Reads the sitemaps of a website (declared in robots.txt, otherwise /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml) and returns up to 200 URLs of the same host, editorial pages first. The first URLs, as many as the URL limit of your tier, are flagged suggested: send them in urls to POST /api/v1/tools/persona-brief.

Same tiers as the creation call, with their own daily counter per UTC day: 20 discoveries per day per IP address without an API key, 50 for a signed-in account, 200 with the API key of an account whose plan includes API access. A key whose plan does not include API access returns 401: remove the Authorization header to use the free anonymous tier.

Quota headers: X-RateLimit-Limit, X-RateLimit-Used, X-RateLimit-Remaining, X-RateLimit-Reset. Retry-After is set on 429 and 503. A 400, 502 or 503 answer gives the consumed quota back; SERVICE_UNAVAILABLE consumes none.

Request format. Send the body as JSON with Content-Type: application/json: any other content type returns 415. Without an Authorization header, a request sent by a web page of another site (an Origin other than the SERPmantics app, or Sec-Fetch-Site: cross-site) returns 403. Server-to-server calls send no Origin header and are not affected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesURL or domain of the website. A bare domain is completed with https.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it does so thoroughly. It explains that the tool reads sitemaps from robots.txt or fallback paths, returns up to 200 same-host URLs with editorial pages first, flags suggested URLs, and details rate limits, quota headers, refund behavior on certain errors, and cross-origin request restrictions. This is far beyond minimal transparency.

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?

The description is long but well-structured and dense with relevant operational details. The main purpose is front-loaded, and the request format, quotas, and error behaviors are organized in separate paragraphs. A few sentences are lengthy, but each earns its place given the lack of annotations and the need to document auth and rate-limit nuances.

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 one-parameter tool with no annotations and no output schema, the description is remarkably complete. It covers input expectations, output semantics (URLs, suggested flag, 200 limit), quota consumption, error statuses, authentication modes, and request formatting. An agent has enough information to call the tool correctly and interpret its role in the persona-brief workflow.

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% for the single `site` parameter, including the note that bare domains are completed with https. The description does not repeat or extend the parameter meaning, so the baseline score of 3 is appropriate. It adds context about sitemap processing but not new parameter-level semantics.

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 names a specific action and resource: discovering representative pages from a website's sitemaps, explicitly positioned 'before generating a persona brief'. It distinguishes itself from siblings like create_persona_brief and get_persona_brief by being the upstream discovery step, and the phrase 'free tool' adds an immediate differentiator.

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?

It clearly states when to use the tool ('before generating a persona brief') and gives concrete follow-up instructions ('send them in `urls` to POST /api/v1/tools/persona-brief'). It also details anonymous vs API-key usage and how to handle a 401 by removing the Authorization header. It does not explicitly compare against alternatives, but the tool is unique among siblings and its role is unambiguous.

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.

Resources