Skip to main content
Glama

NFTCOLLAB Creator Drops & Partner Releases

Issue Media Quarantine Ticket

collab_issue_quarantine_ticket
Idempotent

Register a media digest, MIME type, byte size, and magic-byte header into nftcollab-media-vault quarantine prior to staging. Use this before collab_stage_5050_drop to bind verified media; do not use to check copy (collab_preflight_drop_safety) or stage drops (collab_stage_5050_drop). Parameters: filename extension must match mime_type with zero path separators; sample_header_b64 checks magic bytes (RIFF..WEBP, ftyp) and rejects script polyglots. Behavior: no auth, zero charge, 60 req/min/IP; deterministic qtk_* ID cached 7d in Redis bound to creator_wallet; HTTP 422 on bad MIME/wallet.

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": {
      "filename": "<filename>",
      "mime_type": "<mime_type>",
      "byte_size": "<byte_size>",
      "sha256": "<sha256>",
      "creator_wallet": "<creator_wallet>"
    },
    "name": "collab_issue_quarantine_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
sha256Yes64-character hex SHA-256 content digest of the media file.
filenameYesBase media filename with matching safe extension (e.g. "cover01.png" or "master.flac"; no slashes or ..).
byte_sizeYesTotal media file size in bytes (64 bytes up to 262,144,000 = 250 MB).
mime_typeYesDeclared safe media MIME type matching the filename extension and binary header.
creator_walletYes0x-prefixed 40-hex Base Mainnet (chain_id = 8453) EVM wallet address.
sample_header_b64NoOptional base64-encoded first 16-64 bytes of the file to verify container magic bytes.

Output Schema

NameRequiredDescriptionDefault
okYesTrue when the quarantine ticket was issued.
quarantine_stateNoQuarantine lifecycle state (quarantined_pending_stage).
quarantine_ticket_idNoIssued quarantine ticket ID (qtk_<20 hex chars>) bound to creator_wallet and sha256.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / byte_size / description
      Previous value: -"Total file size in bytes (64 bytes up to 250 MB)."New value: +"Total media file size in bytes (64 bytes up to 262,144,000 = 250 MB)."
    • changedInput schema / properties / creator_wallet / description
      Previous value: -"0x-prefixed 40-hex Base (chain_id = 8453) EVM wallet address."New value: +"0x-prefixed 40-hex Base Mainnet (chain_id = 8453) EVM wallet address."
    • changedInput schema / properties / filename / description
      Previous value: -"Original media filename with extension (e.g. \"cover01.png\" or \"master.flac\")."New value: +"Base media filename with matching safe extension (e.g. \"cover01.png\" or \"master.flac\"; no slashes or ..)."
    • changedInput schema / properties / mime_type / description
      Previous value: -"Declared safe media MIME type for quarantine verification."New value: +"Declared safe media MIME type matching the filename extension and binary header."
    • changedInput schema / properties / sample_header_b64 / description
      Previous value: -"Optional base64-encoded leading bytes (16–64 bytes) to verify file magic-byte headers."New value: +"Optional base64-encoded first 16-64 bytes of the file to verify container magic bytes."
    • addedOutput schema / properties / ok / description
      Added value: +"True when the quarantine ticket was issued."
    • addedOutput schema / properties / quarantine_state
      Added value: +{
      +  "description": "Quarantine lifecycle state (quarantined_pending_stage).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / quarantine_ticket_id / description
      Added value: +"Issued quarantine ticket ID (qtk_<20 hex chars>) bound to creator_wallet and sha256."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare idempotency and non-destructiveness, but the description adds genuinely new operational facts: no auth required, zero charge, 60 req/min/IP rate limit, a deterministic qtk_* ID cached 7 days in Redis bound to creator_wallet, and HTTP 422 on bad MIME or wallet. These materially change how an agent would retry, cache, and handle errors.

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?

Front-loaded with purpose and scoped with a labeled Parameters/Behavior structure, so the agent can skim. It is dense — compound sentences pack constraints and error codes together — but every clause carries information rather than restating the schema.

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?

For a six-parameter mutation with an output schema, the description covers the remaining gaps: auth posture, cost, rate limiting, caching/determinism of the returned ID, and the failure mode. Return-value explanation is correctly omitted since an output schema exists.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds cross-field semantics the schema cannot express: the filename extension must match mime_type with zero path separators, and sample_header_b64 is checked against magic bytes (RIFF..WEBP, ftyp) and rejects script polyglots. That is real validation-relevant meaning beyond per-field descriptions.

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 and resource: registering a media digest, MIME type, byte size and magic-byte header into the nftcollab-media-vault quarantine. It names the exact siblings it is not (collab_preflight_drop_safety for copy checks, collab_stage_5050_drop for staging), so the agent can differentiate without opening schemas.

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

Usage Guidelines5/5

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

Gives explicit sequencing guidance ("Use this before collab_stage_5050_drop") and explicit exclusions mapped to named alternatives for both the preflight-check and staging cases. There is no ambiguity about when this tool is the correct choice.

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