Skip to main content
Glama

summarize

Creates concise overviews of code or text with configurable word limits and brief, detailed, or bullet-point styles.

Instructions

Create concise summaries of code or text with configurable length

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoSummary style
contentYesContent to summarize
max_wordsNoMaximum words in summary

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about whether the operation is read-only, how the summary is returned, or whether style/max_words interact (e.g. truncation behavior). For a non-destructive summarizer the risk is low, but 'configurable length' merely restates the schema rather than explaining behavior.

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?

A single well-formed sentence with the verb and scope front-loaded and no filler. It is efficient, though its brevity contributes directly to the missing usage and behavioral detail noted elsewhere.

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 simple three-parameter, single-required-input tool with a fully described schema and no output schema, the definition covers the essentials of what it does. It still omits how the summary is delivered and how it relates to sibling summarization/analysis tools, which an agent would need for correct selection.

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% and the enum for style is documented in the schema, so the baseline is 3. The description adds no meaning beyond the schema — 'configurable length' gestures at max_words but gives no semantics such as whether it is a hard cap or a target.

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 description gives a specific verb ('Create') and resource ('concise summaries of code or text') and mentions configurable length, so the core operation is unambiguous. It does not differentiate this from close siblings such as summarize_markdown, leaving the agent to guess which summarizer applies to markdown input.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no mention of when to prefer analyze_code or analyze_markdown over summarizing, and no statement about input size or content-type limits. The only implicit signal is 'code or text', which is not enough to route between the many sibling tools.

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