Skip to main content
Glama
Homebrew Formulae and macOS packages MCP server

Homebrew Formulae and macOS packages MCP server

Get top installed Homebrew formulae

get_top_installed_formulae
Read-onlyIdempotent

Ranks installed-on-request Homebrew formulae over 30-, 90-, or 365-day analytics windows and returns a configurable number of results.

Instructions

List the most installed-on-request Homebrew formulae over 30-day, 90-day, or 365-day analytics windows.

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_top_installed_formulae"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum formulae to return (default 20).
windowNoAnalytics window (default "30d").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish this as a read-only, idempotent, non-destructive, open-world query. The description adds the meaningful metric definition 'installed-on-request' and the available windows, but does not discuss ranking tie-breaking, pagination, or result ordering.

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?

A single front-loaded sentence with no filler. It states the resource, the metric, and the supported windows efficiently.

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 simple two-parameter read-only ranking tool with full schema documentation and no output schema, the definition is largely complete. The small remaining gap is that it does not explain ordering or what a returned entry contains, which is acceptable given the tool's simplicity.

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%, so both limit and window are already documented in the schema, including defaults and the window enum. The description reinforces the window choices but adds little parameter meaning beyond the structured schema.

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 and resource: listing the most installed-on-request Homebrew formulae, scoped to three analytics windows. It is clearly distinct from detail/search/dependency siblings in substance, though it does not explicitly name or route against them.

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?

It implies the use case is ranking formulae by installation popularity, and it names the supported time windows. However, it gives no explicit guidance on when to choose this rather than searching, inspecting details, or checking dependencies.

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