Skip to main content
Glama

GitCore Sovereign Git & Swarm Merge MCP Server

Submit SARIF v2.1.0 Static Analysis Review

submit_sarif_review

Post an OASIS SARIF v2.1.0 report onto a Pull Request as structured inline review comments.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "owner": "<owner>",
      "repo": "<repo>",
      "prNumber": "<prNumber>",
      "sarif": "<sarif>"
    },
    "name": "submit_sarif_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYes
ownerYes
sarifYesValid SARIF v2.1.0 JSON object containing `runs[]`.
prNumberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, non-idempotent and closed-world, so the safety profile is covered. The description usefully adds that output takes the form of inline review comments, but it does not disclose the operationally important consequence of idempotentHint=false — whether re-posting duplicates comments or replaces them — nor any rate-limit or failure behavior.

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?

A single front-loaded sentence with no filler, stating verb, format standard and output shape. Nothing is wasted, though the brevity is also the source of the gaps scored elsewhere.

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?

For a non-idempotent mutation tool with four required parameters, a nested SARIF payload, no output schema and 25% schema coverage, the definition is too thin. It should at minimum say whether repeated submission duplicates review comments, what the response reports, and how non-inline-able SARIF results are handled.

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?

Schema description coverage is only 25%: only `sarif` is documented, and even that description lives in the schema, not the description text. owner, repo and prNumber are undocumented in both places, and with a nested `sarif` object of nontrivial structure the description adds no meaning about how runs[] map to inline comments or what happens with invalid/unmapped results.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Post'), a specific resource ('OASIS SARIF v2.1.0 report') and a specific effect ('structured inline review comments' on a Pull Request). That is enough for an agent to distinguish it from get_sarif_review, though it never explicitly states that contrast or names the read-only sibling.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus get_sarif_review, no precondition that the PR must already exist, no mention of required write permissions or scopes, and no statement about whether this is the right tool for re-submitting an existing report. The agent must infer all of this.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources