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

Homebrew Formulae and macOS packages MCP server

Check Homebrew formula dependencies

check_formula_dependencies
Read-onlyIdempotent

Inspect a Homebrew formula's runtime, build, test, optional, and system dependencies plus conflicts and keg-only status to see what installing it requires.

Instructions

Inspect runtime, build, test, optional, and macOS system dependencies plus conflicts and keg-only status for a Homebrew formula.

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

Input Schema

NameRequiredDescriptionDefault
nameYesHomebrew formula name (e.g. "jq", "ffmpeg", "postgresql@17").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds genuine value beyond them by disclosing the composition of the result: five dependency categories plus conflicts and keg-only status. It stops short of describing failure behavior for a nonexistent formula, which would have earned a 5.

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 that names the action first and then the returned data categories. No filler, no restatement of the tool title, and every clause contributes scope 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?

For a one-parameter read-only lookup with full annotation coverage and no output schema, the description supplies enough about the return content to call it correctly. The only missing element is behavior on invalid or unknown formula names, a minor gap for a tool this simple.

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?

Single parameter with 100% schema description coverage, including an example value ("jq", "ffmpeg", "postgresql@17"), so the schema carries the semantics. The description adds nothing about the name parameter (e.g., handling of aliases, taps, or versioned formulae), which matches the baseline 3 for high-coverage schemas.

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 ("inspect") and a precise resource (a Homebrew formula's dependencies), and enumerates the categories examined: runtime, build, test, optional, macOS system, plus conflicts and keg-only status. An agent knows exactly what data class this returns. It does not explicitly distinguish itself from the closest sibling, get_formula_details, so it falls short of a 5.

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?

There is no explicit when-to-use or when-not-to-use sentence, and no alternative tool is named. Usage is only implied by the enumerated scope: you call it when you need dependency/conflict analysis rather than general formula metadata. Adequate but clearly gapped given that get_formula_details likely overlaps.

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