Skip to main content
Glama

Aggregate

aggregate

Summarize a knowledge base scope with counts, trust coverage, topic distribution, and recent atom descriptions to see what you have on a topic before reading raw text.

Instructions

A state-of-play skeleton over a SCOPE of the KB — counts by kind/source, trust coverage, topic/entity distribution, and the most-recent atom DESCRIPTIONS (mechanical, so safe to read without opening). Use it to draft a dossier or "what do I have on X", THEN open() the pivotal atoms to ground each claim in raw text. Scope is optional: omit everything for the whole store, or filter by tags / what_kind / source_type / who_id / date_from / date_to.

This takes IDs, not handles. To scope to a person, call search(who="@handle") first and pass its insights.resolved_who[].who_ids here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kbNoSummarize SOMEONE ELSE'S knowledge base instead of your own. Omit for yours. `trusted_atoms` then counts atoms whose author THAT owner confirmed, not you.
tagsNo
who_idNo
date_toNoLatest atom date, INCLUSIVE. Same formats, widening the other way (date_to="2026" is 2026-12-31).
date_fromNoEarliest atom date, INCLUSIVE — "2026", "2026-05" or "2026-05-11"; a partial widens to its natural edge (date_from="2026" is 2026-01-01). Any other shape RAISES rather than being ignored.
what_kindNo
source_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral transparency. It explicitly states 'safe to read without opening' and describes itself as 'mechanical,' indicating a read-only, side-effect-free operation. It also provides a key constraint (takes IDs, not handles) without needing to infer from annotations.

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 moderately long but every sentence adds value: it explains the output, usage workflow, scope options, and the ID/handle distinction. It avoids redundancy and is structured logically, though it could be slightly tightened without losing information.

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?

The description covers the tool's purpose, output nature (counts, distributions, recent descriptions), usage workflow, and a critical parameter constraint. It does not provide an explicit example or error handling, but it is complete enough for a typical agent to use the tool correctly given the schema annotations.

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?

The schema has descriptions for only 3 of 7 parameters (43% coverage). The tool description adds minimal clarification—it mentions filterable fields and notes that who_id expects IDs—but leaves tags, what_kind, and source_type without semantic explanation. Parameter meaning is only partially clear.

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?

The description clearly states the tool's purpose: it provides a state-of-play skeleton with counts and distributions over a scoped knowledge base. It distinguishes itself from siblings by describing its role as a precursor to open(), making its unique function unambiguous.

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?

The description explicitly tells when to use this tool—for drafting a dossier or checking 'what do I have on X'—and when to use search (for handles) and open (for details). It also explains that scope is optional and how to filter, giving clear usage guidance relative to alternatives.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maimond123/Opyt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server