Skip to main content
Glama
darthzen

fossa-mcp

by darthzen

fossa_update_team_group_assignments

DestructiveIdempotent

Update a FOSSA team group's assignments by adding, removing, or replacing its member teams or users.

Instructions

Change what is assigned to a FOSSA team group: the teams it contains, or its members.

WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true and FOSSA_ALLOW_ADMIN=true. action "remove" and action "replace" additionally require FOSSA_ALLOW_DESTRUCTIVE=true, because both take an existing assignment away.

  • "teams" takes team_ids and supports add and remove. FOSSA removes teams one at a time, so a remove naming several teams issues one request per team and is not atomic: an error partway through leaves the earlier removals applied. The ids that succeeded are reported back.

  • "users" takes users, a list of objects with the keys id and, for the add and replace actions, roleId, and supports all three actions.

Removing a team from a group does not delete the team. Action "replace" on users sets the group's membership to exactly what is named and removes everyone else.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usersNo
actionYes
targetYes
team_idsNo
team_group_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description adds significant behavioral detail: it warns about non-atomicity for multi-team removals, clarifies that removing a team does not delete it, explains that 'replace' on users removes everyone else, and lists permission requirements. This far exceeds the annotation signal.

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 well-organized: a one-sentence overview, then requirements, then per-target details. Each sentence adds necessary information without redundancy. It is structured and front-loaded, making it easy to parse.

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?

The tool is reasonably complex (5 params, 2 enums, no schema descriptions, but has output schema). The description covers all essential aspects: purpose, permissions, parameter semantics, non-atomicity, and side effects. The output schema handles return values, so no need to describe those. It is complete for an agent to invoke 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?

With 0% schema description coverage, the description carries the full burden of explaining parameters. It clearly maps 'team_ids' to the 'teams' target, explains that 'users' expects objects with 'id' and (for add/replace) 'roleId', and delineates which actions support each target. This compensates for the schema's lack of descriptions.

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's function: 'Change what is assigned to a FOSSA team group: the teams it contains, or its members.' This is a specific verb+resource+scope, and it distinguishes itself from sibling tools like fossa_update_team_assignments by focusing on team group assignments.

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 on when to use this tool, including required environment variables and which actions require destructive permissions. It explains the two targets (teams/users) and their supported actions, but it does not explicitly mention alternative tools or provide 'when-not' scenarios, stopping short of a 5.

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