Skip to main content
Glama
darthzen

fossa-mcp

by darthzen

fossa_unblock_package

DestructiveIdempotent

Removes a package's blocked-dependency rule from a FOSSA quality policy, unblocking the package.

Instructions

Remove a package's blocked-dependency rule from one FOSSA quality policy.

WRITES TO FOSSA, DESTRUCTIVELY. Requires FOSSA_ALLOW_WRITES=true and FOSSA_ALLOW_DESTRUCTIVE=true.

FOSSA has no delete for a single rule. Unblocking rewrites the policy's entire rule set with the rules that should survive, and the API offers no precondition to make that safe — a second caller editing the same policy concurrently will silently undo this change, or have theirs undone. The surviving rules this tool is about to send are reported in data.rules_sent.

Every rule that is not a block on package_locator is preserved. If the policy carries no such block, nothing is sent and the policy is left alone.

This uses an endpoint FOSSA does not document, captured from its web app. It may change without notice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policy_idYes
package_locatorYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description goes far beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true, openWorldHint=true). It discloses critical behavior: the tool rewrites the entire rule set, has no precondition for concurrency safety, may silently undo concurrent edits, reports surviving rules in `data.rules_sent`, preserves all non-block rules, and relies on an undocumented endpoint that may change without notice. This is exceptional transparency for a destructive mutation tool.

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?

The description is concise and front-loaded: the first sentence states the core purpose. Every subsequent sentence adds critical safety or behavioral information. It avoids filler and uses clear formatting with bold warnings. Length is appropriate for the tool's complexity and risk profile.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (destructive mutation, concurrency risk, undocumented endpoint), the description covers all essential aspects: what it does, when it does nothing, what data it reports, and its stability caveat. An output schema exists (has output schema: true), so return values are presumably documented there, but the description still covers the non-obvious 'data.rules_sent' field. This is complete for an agent to use effectively.

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 0%, so the description must compensate. The description explains that 'package_locator' is the package whose block is being removed, and 'policy_id' identifies the policy. It also explains the behavior of the rule removal, which adds meaning beyond the raw parameter names. However, it does not specify formats, examples, or how to obtain valid values. With only two simple parameters, the description provides enough context to understand their roles, but a bit more detail on expected formats would be helpful. Baseline 3 is appropriate given the low coverage and the description's partial compensation.

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 states a specific verb+resource: 'Remove a package's blocked-dependency rule from one FOSSA quality policy.' It clearly identifies the action (unblock) and the target (a specific package's blocked rule in a policy). This distinguishes it from siblings like fossa_block_package and other policy tools, even without explicitly naming them.

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 warns about the destructive nature and required environment flags: 'WRITES TO FOSSA, DESTRUCTIVELY. Requires FOSSA_ALLOW_WRITES=true and FOSSA_ALLOW_DESTRUCTIVE=true.' It also provides a clear condition for when the tool performs no operation: 'If the policy carries no such block, nothing is sent and the policy is left alone.' This gives the agent actionable guidance on when to use (and avoid) this tool, including the concurrency caveat.

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/darthzen/fossa-mcp'

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