Skip to main content
Glama
darthzen

fossa-mcp

by darthzen

fossa_list_package_label_assignments

Read-only

Discover package label assignments in FOSSA. Filter by scope, package, or version to see exactly which labels are applied where.

Instructions

List which package labels are assigned to which packages.

Read-only. Every filter is optional; with none supplied FOSSA returns every assignment in the organization. include_package_wide_labels adds the labels assigned to all versions of the package when filtering by one version, and include_revision_scoped_labels adds revision-scoped labels under a project scope. The id of each assignment is what fossa_unassign_package_labels removes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNo
scope_idNo
package_idNo
package_versionNo
include_package_wide_labelsNo
include_revision_scoped_labelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds valuable behavioral context by explaining the default org-wide behavior, the effect of the two include flags, and the significance of the assignment `id` for unassignment. No contradiction is present.

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 compact and front-loaded: the purpose is in the first sentence, followed by read-only status, default behavior, and key parameter effects. Every sentence earns its place with no redundant filler.

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?

With 6 optional parameters and an output schema, the description covers the essential selection and invocation needs: what the tool does, when it returns all data, how include flags affect results, and how the response maps to another tool. It lacks pagination/limit details, but the output schema fills structural gaps, making the overall guidance sufficient.

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. It explicitly explains the two boolean include parameters and implies scope/package filtering, but does not describe the meaning or interaction of scope, scope_id, package_id, and package_version. This is partial compensation, leaving some parameter semantics to the schema defaults and names.

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 opens with a clear, specific verb and resource: 'List which package labels are assigned to which packages.' This precisely distinguishes the tool from sibling label tools (e.g., fossa_list_package_labels, fossa_assign_package_labels) by focusing on the assignment relationship.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context: it is read-only, all filters are optional, and no filters returns all assignments in the organization. It also notes that the returned `id` is used by fossa_unassign_package_labels, implying a usage connection. However, it does not explicitly compare against alternative label-listing tools or name when not to use it, so it misses an explicit exclusion.

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