Skip to main content
Glama

Summarize text or a web page

summarize
Read-only

Condense long text or a public web page into a TL;DR, bullet points, or a short paragraph with key takeaways, in your chosen language and length.

Instructions

Summarize text or a web page (first 12,000 characters) into a TL;DR, bullet points or a short paragraph, with the key takeaways. Pass the text itself or just a URL. Works on articles, docs, transcripts, emails and reports. Costs $0.003 per call.

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": "summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA public web page to read instead of text, e.g. a news article or blog post.
textNoText to process (first 12,000 characters are used). Use this or url.
styleNo"bullets" (default), "paragraph" or "tldr" (one sentence).
languageNoWrite the summary in this language. Default: the source's language.
max_wordsNoRough length limit for the summary. Default 120.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With readOnlyHint already covering safety, the description still adds real behavior: a per-call cost of $0.003 and a 12,000-character truncation cap on input. That truncation limit is a concrete constraint an agent would otherwise miss. It does not cover what happens on an unreachable or paywalled URL, so it falls short of full disclosure.

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 three sentences front-loaded with purpose, then inputs, then cost. It is efficient, though it slightly repeats the 12,000-character limit that also appears in two schema fields.

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?

For a five-parameter, read-only, no-output-schema tool, the description covers purpose, input modes, output styles, cost, and length behavior, which is nearly everything needed to call it. The remaining gap is failure behavior for bad or inaccessible URLs.

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%, including the defaults for style, language, and max_words, so the schema does the heavy lifting. The description repeats the 12,000-character limit and style names but adds no syntax or constraint details beyond what the schema already states, so baseline 3 applies.

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 definition gives a specific verb (summarize) and clear resources (text or a web page), and it enumerates the three output shapes: TL;DR, bullets, or short paragraph, plus key takeaways. It does not explicitly distinguish itself from a naive sibling that also reads pages, but the summarization output is unmistakable.

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

Usage Guidelines3/5

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

'Works on articles, docs, transcripts, emails and reports' and 'Pass the text itself or just a URL' give input context, but it never states when to prefer this over a sibling such as a general ask/LLM tool, nor any exclusions. Usage is implied rather than directed.

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