Skip to main content
Glama
Retio-ai

PageMap

Official
by Retio-ai

get_page_state

Read-only

Retrieve the current page URL and title without rebuilding the full Page Map. Use it to verify navigation results after executing actions.

Instructions

Get lightweight current page state (URL, title) without full Page Map rebuild.

Useful for checking navigation results after execute_action.

IMPORTANT: Page title originates from untrusted web pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=true. The description adds context by noting it is 'lightweight' and returns 'URL, title' without a full rebuild, plus a security warning about untrusted page titles. This goes 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?

Three short sentences each serve a purpose: what it does, when to use it, and a relevant security warning. No fluff.

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 simple read-only tool with no parameters and an existing output schema, the description covers purpose, usage, behavior, and a trust caveat. It is fully sufficient.

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?

With 0 parameters, the baseline is 4. The description clarifies what state is returned (URL, title), adding meaningful context even though no parameters exist.

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 'Get lightweight current page state (URL, title)' with a specific verb and resource. It also distinguishes this tool from its sibling 'get_page_map' by saying 'without full Page Map rebuild'.

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?

Explicitly recommends use 'after execute_action' to check navigation results. It implies an alternative (full Page Map) by stating 'without full Page Map rebuild', but does not explicitly say when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Retio-ai/Retio-pagemap'

If you have feedback or need assistance with the MCP directory API, please join our Discord server