Skip to main content
Glama

Get Page

get-page
Read-onlyIdempotent

Reads a docs page as markdown, whole or just the sections you name. Component pages explain why each rule exists, with examples in React, Vue, Svelte, Angular, Solid, Astro and Vanilla: pass a framework to keep only its examples.

WHEN TO USE: for the reasoning, an example or the details behind a rule (like the sections ["Loading"] of the button's page), or for a page without a contract, like the introduction or the roadmap. WHEN NOT TO USE: for the requirements alone, use get-contract or list-rules, which are much shorter. To find which page or section covers a topic, use search-docs.

A page longer than about 8,000 tokens, like the button's, returns its outline instead: every heading with its anchor and length, so you can ask for the sections you need. So do sections that are too long to return together.

Input Schema

NameRequiredDescriptionDefault
pathYesThe page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, field, input, popover, radio-group, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section.
sectionsNoThe sections to read, by heading or anchor, like ["Loading"] or ["#ux-rules"]. Each comes with its sub-sections. Name a parent to tell apart headings that repeat, as in "Every state > Loading".
frameworkNoYour framework, to keep only its examples.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, input, popover, radio-group, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, field, input, popover, radio-group, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  2. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, input, radio-group, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, input, popover, radio-group, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  3. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, radio-group, button, card, checkbox-group, checkbox, dialog, input, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, input, radio-group, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  4. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, input, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, radio-group, button, card, checkbox-group, checkbox, dialog, input, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  5. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, dialog, switch, textarea, tooltip, checkbox-group), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, card, checkbox-group, checkbox, dialog, input, spinner, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  6. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, switch, textarea, tooltip, checkbox-group), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, dialog, switch, textarea, tooltip, checkbox-group), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  7. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, switch, textarea, tooltip, checkbox-group), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  8. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, switch, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, switch, textarea, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  9. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, switch, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, card, checkbox, switch, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  10. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, switch, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  11. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."New value: +"The page: its name (introduction, roadmap, mcp-server, agent-plugin, design-tokens, button, spinner, input, tooltip), or its path, like /docs/components/button. A URL's #anchor, like the ones search-docs returns, reads that section."
  12. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, but the description adds substantive behavior beyond them: pages over ~8,000 tokens return an outline with headings, anchors, and lengths instead of content, and oversized sections are likewise elided. That truncation behavior is exactly the kind of non-obvious trait an agent needs before calling.

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?

Front-loaded with the core capability, then organized into WHEN TO USE / WHEN NOT TO USE, then the truncation caveat. Every sentence carries routing or behavioral information; no filler.

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?

With no output schema, the description still explains the shape of the return (markdown content vs. outline fallback) and the framework-filtered view, which is what an agent needs to interpret results. Nothing material is missing for a 3-parameter read tool.

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 path, sections, and framework are already well documented, including anchor syntax and parent>child disambiguation. The description only restates the framework-filter purpose and the section-naming pattern, adding little beyond the schema; baseline 3 applies.

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?

States a specific verb and resource ('Reads a docs page as markdown') plus the two scoping modes (whole page or named sections) and the framework filter. It is immediately distinguishable from get-contract, list-rules, and search-docs, which are named in the same breath.

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

Usage Guidelines5/5

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

Has explicit WHEN TO USE and WHEN NOT TO USE blocks that name the alternatives (get-contract, list-rules, search-docs) and the exact condition that selects each. Nothing about routing is left to inference.

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.