Skip to main content
Glama

URL Extractor: Any Supported Page to JSON · 20 Sites, One Input

Image Moderation & Tagging

moderate_image
Read-onlyIdempotent

NSFW and unsafe image detection by URL: a verdict (allow, review, block) with the reasons, 0-1 scores for explicit, suggestive, violence, gore, weapons, drugs, hate, self-harm and more, nudity level and context, faces, text and logos; plus the main category, up to 40 content tags and the kind of image (photo, drawing, screenshot...). Images are not stored. Use to classify an image as safe or not (nudity, violence and more); for where it was taken use locate_photo. Returns {items: [...]} with one object per result, for example: {"imageUrl":"https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg","status":"ok","verdict":"allow","reasons":[],"nsfw":false,"nudityLevel":"none","scores":{"explicit":0.01,"suggestive":0.02,"violence":0.02},"hasFace":0.01,"hasText":0.03,"imageKind":"photo","category":"animals","tags":["cat"],"width":1600,"height":1598,"format":"jpeg"} Cost: pay per result (prices on the store page where you subscribed), or US$ 0.01 per call with x402 (1 image). Read-only: it only reads public data.

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": {
      "url": "<url>"
    },
    "name": "moderate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic image link (JPEG, PNG, WebP, GIF, BMP or TIFF, up to 20 MB). Comma-separate several (max 5 per call).
tagsNoAlso return the main category, content tags and image kind (default true).
blockNoScore 0-1 at which a block category gives the verdict "block" (default 0.6).
labelsNoUp to 10 plain-English descriptions to score 0-1 on every image, comma-separated (e.g. "a cigarette,a gun").
reviewNoScore 0-1 at which a block category gives "review" (default 0.35).
artisticNoDo not flag nudity in paintings and museum sculpture (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that images are not stored, that cost is pay-per-result or US$ 0.01 per call with x402, and that the operation is read-only against public data. It also gives a concrete return payload with verdict reasons and score fields, which annotations alone cannot convey.

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 core capability is front-loaded in the first clause, followed by the return contract and the sibling disambiguation. It is dense — the score enumeration ('explicit, suggestive, violence, gore, weapons, drugs, hate, self-harm and more') is long — but most of it carries information an agent needs given there is no output 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?

With no output schema, the inline example object supplies the return shape, field names and value ranges that would otherwise be missing. Combined with cost, storage behavior and the input limits documented in the schema, an agent has everything needed to call and interpret this 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 description coverage is 100%, so the baseline is 3; the six parameters (url, tags, block, labels, review, artistic) are already fully documented in the schema. The description only indirectly touches parameter behavior through the verdict vocabulary ('allow, review, block') and does not explain the block/review thresholds or the artistic flag beyond what the schema says.

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?

Opens with a specific verb and resource ('NSFW and unsafe image detection by URL: a verdict (allow, review, block) with the reasons') and enumerates the output dimensions, so an agent knows exactly what is produced. It also distinguishes itself from the sibling locate_photo, so the scope is unambiguous.

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?

States the selection condition explicitly ('Use to classify an image as safe or not (nudity, violence and more)') and routes the alternative case to a named sibling ('for where it was taken use locate_photo'). The agent does not have to infer which tool to pick.

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.