Skip to main content
Glama

Detect provenance and AI-generation signals

detect_provenance
Read-onlyIdempotent

Reads and validates C2PA manifests (signature and hashes), IPTC DigitalSourceType, and generator metadata. Flags stripped, invalid or conflicting credentials. Reports signals and confidence, never a definitive 'not AI-generated'; the C2PA signer is not yet checked against the trust list. C2PA manifests are read and validated in images, PDF, Office and OpenDocument files, audio and video (see supported-formats.json). IPTC, XMP, EXIF and generator-name signals are read for JPEG, PNG, HEIC/HEIF, WebP, TIFF, AVIF and MP4/QuickTime; checks_run says what ran for each file. MCP tool: detect_provenance. Price: 0.002 USDC per image.

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": {
      "file_base64": "<file_base64>"
    },
    "name": "detect_provenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_base64YesBase64-encoded file bytes (max 4 MiB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses substantive behavioral caveats: results are signals plus confidence and never a definitive 'not AI-generated', and the C2PA signer is not yet checked against the trust list. It also states that checks_run reports which checks actually executed per file, which is exactly the kind of per-call variability an agent needs to interpret results.

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 front-loaded with the core action and caveats, and every sentence carries information. It loses a point for minor redundancy: restating 'MCP tool: detect_provenance' adds nothing, and the format enumerations are dense enough to be a bit hard to scan.

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

Completeness4/5

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

For a single-parameter read tool with no output schema, the description covers capability, limitations, per-format coverage, and pricing. Remaining gaps are minor: behavior on an unsupported or oversized file and the shape of the reported signals are not described, though checks_run is mentioned.

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?

There is a single parameter (file_base64) and the schema already documents it fully, including the 4 MiB cap, at 100% coverage. The description adds nothing about the input encoding or size limit, so it neither compensates nor detracts; baseline 3 applies.

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 first sentence names specific verbs and resources: reads and validates C2PA manifests (signature and hashes), IPTC DigitalSourceType, and generator metadata, and flags stripped/invalid/conflicting credentials. That is far more specific than the title alone. However, it never distinguishes itself from the sibling verify_provenance or from scan_metadata, so an agent must infer which of the two provenance-ish tools to call.

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

Usage Guidelines3/5

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

Usage is only implied through scope: the supported-format lists tell the agent which files this tool accepts, which is useful prerequisite information. There is no explicit when-to-use statement and no exclusion or named alternative (e.g., when to prefer verify_provenance or scan_metadata), so the routing decision is left 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