Skip to main content
Glama
darthzen

fossa-mcp

by darthzen

fossa_get_revision_attribution_json

Read-only

Fetches a revision's attribution report as structured JSON for programmatic use. Customize the output with options for dependencies, vulnerabilities, and copyrights.

Instructions

Return a revision's attribution report as structured JSON.

Prefer this over the rendered formats when the answer will be reasoned about rather than handed to a person. api_version="v1" calls the legacy path, which takes the same options and differs only in response shape.

Requires a Premium subscription; other organizations get a 403. The response shape is not declared in the OpenAPI spec, so it is passed through as FOSSA returns it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
previewNo
api_versionNov2
project_locatorYes
revision_locatorYes
include_file_matchesNo
include_notice_filesNo
exclude_package_labelsNo
include_copyright_listNo
include_package_labelsNo
include_deep_dependenciesNo
include_open_vulnerabilitiesNo
include_hash_and_version_dataNo
include_closed_vulnerabilitiesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds meaningful behavioral context: Premium subscription required (403 otherwise), response shape not declared in OpenAPI and passed through as-is, and api_version v1 differing only in response shape. This goes beyond the annotations and prepares the agent for potential failure modes.

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 three sentences long, front-loaded with the main purpose, then usage guidance, then constraints. Every sentence adds essential information with no fluff or repetition.

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

Completeness2/5

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

Given the tool's complexity (13 parameters, no schema descriptions, no declared response shape), the description is incomplete. It covers usage context and premium restriction but leaves the majority of parameters unexplained, and the passthrough response note does not compensate for the lack of parameter semantics.

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

Parameters2/5

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

With a 0% schema description coverage and 13 parameters, the description is expected to compensate but only discusses api_version. It fails to explain the meaning or effect of the many include_* flags, exclude_package_labels, or the required locators. The names are somewhat self-descriptive but not sufficient for correct invocation.

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 returns a revision's attribution report as structured JSON, using the specific verb 'Return' and naming the resource. It distinguishes itself from rendered formats by explicitly contrasting with 'rendered formats' and referencing the reasoning vs. human presentation use case.

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 gives explicit guidance on when to use this tool: 'Prefer this over the rendered formats when the answer will be reasoned about rather than handed to a person.' It also mentions the api_version v1 legacy path and the Premium subscription requirement, which helps the agent decide whether to attempt the call.

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