Skip to main content
Glama

AI Code Security Gate

Check Media Provenance

media_check

Check an image URL for a C2PA/JUMBF signature. Costs 5¢ on a successful fetch. Only C2PA counts as authentic — EXIF alone never does.

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_url": "<file_url>"
    },
    "name": "media_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
file_urlYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare openWorldHint and non-read-only behavior, but the description adds an important billing trait ('Costs 5¢ on a successful fetch') not present in structured data and clarifies that EXIF-only results are not authentic. It omits auth/api_key requirements and failure-case 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?

Three short sentences, all load-bearing: purpose, cost, and the authenticity rule. There is no repetition or filler, and the core purpose is front-loaded.

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?

An output schema exists, so return shape needn't be described. The definition covers cost and the key authenticity criterion, but leaves api_key usage and failure semantics unstated for a network-fetching, paid tool.

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 0%, so the description must carry parameter meaning. It identifies file_url as an image URL to inspect but says nothing about the api_key parameter or expected URL format, providing only partial compensation.

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?

States a specific verb ('Check') and resource ('an image URL for a C2PA/JUMBF signature'), and defines the acceptance criterion (C2PA vs EXIF), which separates it from generic scanning or brand-checking siblings.

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?

The description implies the tool is for verifying media authenticity but gives no explicit when-to-use guidance versus siblings such as scan_code or shadow_scan, and no exclusion conditions; the C2PA/EXIF note guides interpretation more than tool routing.

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.