Skip to main content
Glama

analyze_rpm_macros

Read-only

Parse and analyze RPM macros on SUSE Linux to extract CFLAGS, MAKEFLAGS, compression settings, and build directory configuration. Get essential build parameters directly from macro analysis.

Instructions

[CONFIG] Parse and analyze rpm macros. Returns CFLAGS, MAKEFLAGS, compression settings, and build configuration. Only works on SUSE Linux. Returns: CFLAGS, MAKEFLAGS, compression settings, and build directory configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With readOnlyHint=true, the description adds useful context beyond the annotation: it lists specific return values (CFLAGS, MAKEFLAGS, compression settings, build configuration) and the platform restriction (SUSE Linux). It does not describe return formatting or failure modes, but for a read-only analysis tool this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but contains redundancy: the return values are listed twice with slightly different wording ('build configuration' vs 'build directory configuration'). The second sentence mostly repeats the first, making it less concise than it could be.

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?

Given the tool is simple (no parameters, no output schema, readOnlyHint annotation), the description covers the essential aspects: what it does, what it returns, and the platform limitation. The slight ambiguity about 'build configuration' vs 'build directory configuration' prevents a perfect score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, so the rubric baseline is 4. The description does not need to explain parameter meanings that do not exist, and it does not attempt to invent any. This is appropriate for a parameterless tool.

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 explicitly states the tool's function: 'Parse and analyze rpm macros.' It identifies a specific resource (rpm macros) and a specific action (parse and analyze). This clearly distinguishes it from sibling tools like analyze_zypper_conf or analyze_storage, which target different resources.

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?

The description lacks any guidance on when to use this tool versus alternatives. It only notes 'Only works on SUSE Linux,' which is a platform constraint, not a usage condition. No prerequisites, scenarios, or recommended context are provided.

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

Install Server

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/chrisjohntapp/suse-mcp'

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