Skip to main content
Glama

spurvik_marking_hooks

Read-onlyIdempotent

Explain how to plug your own Article 50(2) marking into marking.text or marking.media. Spurvik does not mark content. withSpurvik and spurvikMiddleware log the call and attach an HMAC receipt. A hook runs only when you supply one. The signed text trailer is an application-level binding you can opt into. It is not, by itself, an Article 50(2) machine-readable mark.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spurvik_marking_hooks"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoOptional public website or store domain (for example, charlie-paris.com) to prefill C2PA checker and EU signup links.
localeNoOptional EU language code (for example, de, fr, nl, da, sv, es, it) for localized C2PA guide and signup links.
surfaceNoOutput modality to generate EU AI Act Art. 50(2) provenance marking hooks for: text, media (images/audio/video C2PA), or both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / domain
      Added value: +{
      +  "description": "Optional public website or store domain (for example, charlie-paris.com) to prefill C2PA checker and EU signup links.",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
    • addedInput schema / properties / locale
      Added value: +{
      +  "description": "Optional EU language code (for example, de, fr, nl, da, sv, es, it) for localized C2PA guide and signup links.",
      +  "enum": [
      +    "en",
      +    "da",
      +    "de",
      +    "fr",
      +    "es",
      +    "nl",
      +    "sv",
      +    "pl",
      +    "it",
      +    "pt",
      +    "fi",
      +    "cs",
      +    "bg",
      +    "el",
      +    "et",
      +    "ga",
      +    "hr",
      +    "hu",
      +    "lt",
      +    "lv",
      +    "mt",
      +    "ro",
      +    "sk",
      +    "sl"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / surface / description
      Added value: +"Output modality to generate EU AI Act Art. 50(2) provenance marking hooks for: text, media (images/audio/video C2PA), or both."
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, yet the description adds real context: Spurvik does not mark content, withSpurvik/spurvikMiddleware log calls and attach an HMAC receipt, and the signed trailer is an opt-in application-level binding that is not itself a machine-readable mark. These are useful caveats an agent would not get from structured fields. It loses a point because this describes product behavior rather than the tool's own output shape.

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

Conciseness3/5

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

Purpose is front-loaded in the first sentence, but the remaining five sentences pile up legalistic caveats with some overlap (the hook-runs-only-when-supplied and opt-in-trailer points restate the same non-automatic behavior). It is coherent but heavier than the task requires.

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?

There is no output schema, and the description never says what the returned guidance actually contains (code samples, config format, link output), even though the domain/locale parameters exist to prefill C2PA and EU signup links. It conveys the concept adequately but leaves an agent guessing about the response.

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%, so the schema already documents domain, locale, and surface. The description only loosely gestures at surface via 'marking.text or marking.media' and never mentions the domain or locale parameters, so it adds little beyond the schema.

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 states a specific verb and scope: 'Explain how to plug your own Article 50(2) marking into marking.text or marking.media.' An agent can tell this returns guidance rather than performing marking. However, it does not differentiate itself from siblings like spurvik_generate_art50_badge or spurvik_setup_snippet, so it stops short of a 5.

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 implied use case is when a caller wants to plug their own marking implementation, and 'A hook runs only when you supply one' clarifies a condition. But there is no explicit when-to-use, when-not-to-use, or named alternative such as spurvik_setup_snippet. Guidance is inferable rather than stated.

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.