Skip to main content
Glama
darthzen

fossa-mcp

by darthzen

fossa_list_roles

Read-only

List roles and permissions in a FOSSA organization, including which roles your token can assign.

Instructions

List the roles in the FOSSA organization, the permission catalog they are built from, and which of them the calling token may hand out.

Read-only. Sections: "roles" is every role with its scope and permission list, "permissions" is the catalog of (resourceType, action) pairs a custom role can be assembled from, "assignable" is the subset of role ids this API token is allowed to assign — FOSSA only lets a caller grant permissions it already holds, so a role missing from "assignable" will be refused when used in a team or service account write. Defaults to "roles" alone. Each section costs one FOSSA request. None of these endpoints is paginated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sectionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Adds substantial behavioral context: the three sections and their meanings, the permission-delegation rule, default to 'roles' only, per-request cost, and lack of pagination. This goes well beyond the readOnlyHint and openWorldHint annotations.

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 two well-structured sentences: the first gives the overall purpose, the second details sections and behaviors. Every sentence adds essential information without redundancy, and it is front-loaded with the main verb and resource.

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 annotations and output schema, the description covers all necessary context: operation type, parameters with defaults, cost, pagination, and security-related assignability rules. Nothing critical is missing for an agent to invoke it correctly.

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

Parameters5/5

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

The schema only offers an enum for 'sections' with no descriptions (0% coverage). The description fully explains each enum value ('roles', 'permissions', 'assignable'), their meaning, and the default, completely compensating for the schema gap.

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 clearly states the tool lists roles, the permission catalog, and assignable roles, using the specific verb 'List'. It distinguishes itself from sibling tools like fossa_manage_role by being read-only and focused on role listing.

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 provides clear context for when to use the tool (listing roles and permissions) and explains the assignable subset and default behavior. It does not explicitly mention alternatives, but the read-only nature and detailed sections make usage conditions apparent.

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