Skip to main content
Glama
darthzen

fossa-mcp

by darthzen

fossa_update_team_assignments

DestructiveIdempotent

Manage a FOSSA team's assigned users, projects, or release groups via add, remove, or replace actions.

Instructions

Change what is assigned to a FOSSA team: its members, its projects, or its release groups.

WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true and FOSSA_ALLOW_ADMIN=true. Any call that can take an assignment away — action "remove" or "replace", or a projects call using all_projects or project_filters — additionally requires FOSSA_ALLOW_DESTRUCTIVE=true. A bounded "add" does not.

target picks the collection and decides which of the remaining arguments apply; passing one that belongs to a different target is rejected before any request is made.

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

  • "projects" takes exactly one of projects (a list of project locators), all_projects, or project_filters (an object with any of title, labels, type, lastRevisionWithin, isPublic).

  • "release_groups" takes release_group_ids, and supports only add and remove. Every project in a release group must already be on the team before the release group can be added.

action "replace" sets the collection to exactly what is named and removes everything else, so replacing the user list with one entry leaves a team of one. all_projects and project_filters address an unbounded set: FOSSA resolves them server-side, so the number of projects affected is not known before the call. all_projects with action "add" hands the team every project in the organization; with "remove" it strips the team of all of them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usersNo
actionYes
targetYes
team_idYes
projectsNo
all_projectsNo
project_filtersNo
release_group_idsNo

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 (destructiveHint, openWorldHint), the description adds crucial behavioral details: exactly which actions require FOSSA_ALLOW_DESTRUCTIVE, how 'replace' clears unbounded sets, that all_projects/project_filters are resolved server-side and may affect an unknown number of projects, and the prerequisite that projects in a release group must already be on the team. This is rich, non-redundant context.

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?

While the description is long, it is tightly structured with bullets and bold warnings. Every sentence adds essential information—permissions, target-specific argument rules, action behavior, and destructive edge cases. The front-loaded purpose and requirements make it easy to scan, and there is no redundant fluff.

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 (8 parameters, 3 targets, 3 actions), the description is remarkably complete. It covers all parameter combinations, special cases like unbounded project sets, validation behavior, prerequisites for release groups, and permission gates. The presence of an output schema means return values don't need description, and the behavioral and semantic coverage is thorough.

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 input schema has 0% description coverage, so the description carries full responsibility for parameter meaning—and it delivers. For each target, it explains which parameters apply and their structures (e.g., users require id and roleId for add/replace; project_filters accepts title, labels, type, etc.). It also clarifies action semantics (replace sets exactly what is named) and that mismatched arguments are rejected.

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 specific verb and resource: 'Change what is assigned to a FOSSA team' and enumerates the three assignment types (members, projects, release groups). This clearly distinguishes the tool from sibling tools like fossa_update_team (team metadata) and fossa_manage_team_group.

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 the tool (for any of three assignment targets) and details how each target uses different arguments. It states required environment variables (FOSSA_ALLOW_WRITES, FOSSA_ALLOW_ADMIN, etc.) and when destructive permission is needed. However, it doesn't explicitly mention when not to use this tool or name alternatives, so it falls 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