Skip to main content
Glama

GitCore Sovereign Git & Swarm Merge MCP Server

Sign & Attach Cryptographic Agent Attestation

sign_agent_attestation
Idempotent

Cryptographically sign and attach HMAC-SHA256 provenance (agentId, model, runId, promptHash, confidenceScore, verifiedActor) plus optional PGP/Ed25519 client detached signatures onto a Pull Request.

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>",
      "agentId": "<agentId>",
      "model": "<model>"
    },
    "name": "sign_agent_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name.
modelYesUnderlying foundation model identifier (e.g. "gemini-2.5-pro").
ownerYesRepository owner.
runIdNoExecution trace or run identifier.
agentIdYesUnique identifier for the autonomous agent (e.g. "claude-code-worker-1").
prNumberYesPull Request number.
promptHashNoSHA-256 hash of the user/orchestrator prompt.
clientPublicKeyNoOptional armored PGP public key or PEM public key to verify `clientSignature`.
clientSignatureNoOptional detached PGP or Ed25519/ECDSA signature.
confidenceScoreNo
clientSignatureAlgorithmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare that this is a non-read-only, non-destructive, idempotent, closed-world operation. The description adds meaningful cryptographic detail, including HMAC-SHA256 provenance and optional PGP/Ed25519 detached signatures, but it does not explain what 'attach' entails, permission requirements, overwrite behavior, or how existing attestations are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no filler and the action appears first. It is dense because of the parenthetical field list, and that list includes a field not present in the schema.

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

Completeness3/5

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

Given the rich annotations and high schema coverage, the definition is adequate for selecting and invoking the tool. However, for an 11-parameter cryptographic mutation with no output schema, it omits operational details such as the attachment mechanism, permission requirements, and expected return behavior.

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

Parameters3/5

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

Schema coverage is 82%, so the baseline is 3. The description adds useful grouping by identifying the provenance fields and clarifying that client signatures are optional, but it also references `verifiedActor` despite that field being absent from the schema and does not explain the client signature algorithm enum or requiredness beyond what the schema already provides.

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 states a specific verb and resource: cryptographically sign and attach HMAC-SHA256 provenance plus optional client signatures onto a Pull Request. It is highly specific about the operation, though it lists a `verifiedActor` field that does not appear in the schema, and it does not explicitly differentiate itself from sibling tools.

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 explicit when-to-use or when-not-to-use guidance, no prerequisites, and no named alternatives. The action itself implies the context, but the description leaves selection and usage conditions to inference.

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