Skip to main content
Glama

Attribute changes to agents or humans

provenance_scan
Read-only

Report available evidence of AI-agent, bot and human contributions by combining git signals with local attribution data. Returns per-file attribution, evidence and coverage status.

Instructions

Report available evidence of AI-agent, bot and human contributions.

Combines git signals since the base (agent bot accounts, Co-authored-by and AI declaration trailers, agent-named commit subjects) with recorded local attribution evidence. Returns JSON with per-file attribution, evidence and coverage status. Commit declarations do not establish line authorship; missing evidence remains unknown. Read-only and local.

Requires SKYLOS_API_KEY: this tool returns an authentication error unless the MCP server is started with SKYLOS_API_KEY set. Without a key, analyze works (5 calls/day) and the local map tools (change_map and the graph_* tools) work with no limit. The local CLI needs no key: skylos verify <file> and skylos agent install-hooks.

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": {
      "path": "<path>"
    },
    "name": "provenance_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesProject directory. A relative path resolves against the MCP server's working directory.
diff_baseNoGit ref to compare against. Omit to use the CI base branch when one is set, otherwise origin/main.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.49.0
    • addedInput schema / properties / diff_base / description
      Added value: +"Git ref to compare against. Omit to use the CI base branch when one is set, otherwise origin/main."
    • addedInput schema / properties / path / description
      Added value: +"Project directory. A relative path resolves against the MCP server's working directory."
  2. Addedv4.10.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, and the description still adds substantive behavior: the exact signal sources merged, the JSON result shape (per-file attribution, evidence, coverage status), an authentication prerequisite with a concrete failure mode ('returns an authentication error unless the MCP server is started with SKYLOS_API_KEY'), quotas, and a key epistemic caveat that 'commit declarations do not establish line authorship; missing evidence remains unknown.' That caveat is exactly the kind of limitation an agent cannot get from annotations or schema.

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?

Purpose and output shape are front-loaded, followed by the evidence caveat and then the auth/alternative block, which is a sensible order. The section is longer than strictly necessary and the trailing CLI note ('skylos verify <file>', 'skylos agent install-hooks') is somewhat tangential to invoking this MCP tool, though it does serve the no-key fallback case.

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?

An output schema exists so return values need no expansion, and annotations cover the safety profile; the description nevertheless adds the auth requirement, rate limits, evidence limitations and fallback options. Relative to a two-parameter read-only scan, nothing an agent needs in order to call it correctly or interpret its output is missing.

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 description coverage is 100% and both parameters already carry descriptions, so the schema does the heavy lifting. The description adds only indirect meaning to diff_base via 'git signals since the base,' which roughly mirrors the schema's note about omitting it to use the CI base branch or origin/main. Baseline 3 is appropriate; no new syntax or format detail is contributed.

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 opening sentence names a specific verb and resource ('Report available evidence of AI-agent, bot and human contributions') and the second sentence enumerates the concrete signals combined (bot accounts, Co-authored-by trailers, AI declaration trailers, agent-named subjects). This is far more specific than a tautology. It stops short of a 5 because it never explicitly distinguishes itself from the closely related siblings verify_agent and verify_change, leaving the agent to infer the boundary.

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 gives concrete routing guidance, but it is oriented around authentication rather than the analytical task: it states that without SKYLOS_API_KEY, 'analyze' (5 calls/day) and the local map tools ('change_map' and 'graph_*') still work. That is a real when-to-use-this-vs-alternative rule. It does not say when to prefer this over verify_agent or verify_change for the same attribution question, so it is clear context without full exclusions.

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