Skip to main content
Glama
mcp-local-llm

mcp-local-llm

local_summarize

Summarizes long documents, research notes, or meeting notes using a local LLM to condense content and extract key points.

Instructions

Summarize text using a local LLM. Use for long documents, research notes, or any content that needs condensing.

DELEGATION GUIDANCE: Use this when you need to summarize content that doesn't require your full reasoning - bulk file summarization, extracting key points from research, condensing meeting notes.

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": {
      "text": "<text>"
    },
    "name": "local_summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text to summarize
focusNoOptional focus area - what aspects to emphasize
styleNoSummary style (default: brief)
max_lengthNoApproximate max words for summary (default: 150)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that processing is local and that the task is delegated away from the agent's own reasoning, but it says nothing about latency, cost, determinism, or input-length limits — a real gap given the explicit claim to handle 'long documents.'

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?

Front-loaded with purpose and a clear DELEGATION GUIDANCE section, which is good structure. The second half of the delegation paragraph restates the first sentence's idea ('content that needs condensing' vs. 'condensing meeting notes'), so a few words are redundant.

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 four-parameter, single-required-input tool with a fully documented schema, the definition covers purpose, usage, and delegation well. The main omission is any statement about input size limits, which matters because the tool is advertised for long documents.

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 every parameter including the style enum and defaults is already documented. The description adds no meaning beyond the schema — no guidance on how focus interacts with style, or what 'approximate max words' tolerance means in practice.

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 ('Summarize text') plus the execution substrate ('using a local LLM'), which implicitly separates it from server-side or self-performed summarization. It does not explicitly name any sibling tool as the alternative, so differentiation from local_transform or local_extract is only inferable.

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?

The delegation guidance gives concrete when-to-use contexts: bulk file summarization, extracting key points from research, condensing meeting notes, and content that 'doesn't require your full reasoning.' That implicit exclusion is useful, but there is no explicit when-not-to-use clause or named alternative tool.

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