Skip to main content
Glama

Read page text

get_content
Read-only

Read the visible text of the current page, optionally scoped with a CSS selector, to read problem statements, output panels, or verdicts.

Instructions

Read the visible text of the current page (main content when it can be identified). Use it to read a problem statement, output panel, or verdict.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxCharsNo
selectorNoOptional CSS selector to scope the text, e.g. '.problem-statement'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior: it extracts rendered/visible text and falls back to a heuristic 'main content' detection. It says nothing about truncation, despite maxChars defaulting to 15000, nor about what is returned when no content is found.

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?

Two sentences, zero filler, with the core purpose front-loaded before the usage hint. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter read-only tool with no output schema this is adequate but leaves real gaps: truncation behavior and the availability of selector-based scoping are unaddressed, and return-value characteristics are only implied ('visible text').

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 50%: selector is documented in-schema, but maxChars has no description anywhere. The description never mentions a size limit or truncation, which is the main thing an agent needs to reason about with that parameter. It also omits the selector's scoping capability that the schema exposes.

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?

States a specific verb and resource ('Read the visible text of the current page') with a scope qualifier ('main content when it can be identified'). That is enough to separate it from get_code, screenshot, or inspect_editor without opening the schema, though it never explicitly names those alternatives.

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?

Gives concrete positive usage contexts: reading a problem statement, an output panel, or a verdict. There are no exclusions or named alternatives ('use get_code when you need source'), so it is clear but not complete guidance.

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