Skip to main content
Glama

unmake file tools

Read and anonymize DICOM files (.dcm or a zipped series)

dicom_inspect
Read-onlyIdempotent

Read and anonymize DICOM files (.dcm or a zipped series). Reads a DICOM file or a ZIP of a series or CD/USB export (every transfer syntax the viewer page reads, JPEG 2000 / JPEG-LS / JPEG Lossless included) and returns the series (modality, images, size, pixel spacing, slice gap), the main image's tags with identifying values withheld, a preview PNG of the middle slice and a burned-in text warning. With anonymize=true it also returns anonymized.zip (DICOM PS3.15 Basic Profile, every file re-read and checked; a de-identification report inside). The upload is deleted as soon as the result is delivered. Use when: An agent has a DICOM file or series and needs its metadata, a picture, or a de-identified copy to share. Not for: Diagnosis; proving an image has no burned-in text (the detector warns, it does not certify); series over 30 MB zipped. File types: dcm, dicom, zip. Max 30 MB.

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": "dicom_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

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?

Adds substantial behavior beyond annotations: upload deleted on delivery, all transfer syntaxes handled (JPEG 2000/LS/Lossless), PS3.15 Basic Profile applied with every file re-read and verified, de-identification report included, and the explicit disclaimer that the burned-in-text detector warns but does not certify. These are exactly the caveats readOnlyHint 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?

Front-loaded with the core capability, then returns, then usage rules, then limits. Dense with minimal waste, though the return-value sentence is a long run-on that bundles several distinct outputs and could be split for scanning.

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?

No output schema exists, yet the description fully spells out what comes back (series fields, withheld tags, preview PNG, anonymized.zip with report) and the size/type constraints. Nothing an agent needs to call this correctly is missing.

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 100%, so file_url, filename, and file_base64 are already documented. The description adds the key semantic of the anonymize=true option, but the nested 'options' object itself is only described circularly ('see the tool description') and the description never enumerates its members or formats.

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?

Names a specific verb+resource (read/anonymize DICOM) and enumerates the outputs: series metadata, withheld-tag list, preview PNG, anonymized.zip. Clearly distinct from sibling inspectors like nc_inspect or gis_inspect by domain and from convert3d by intent.

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?

Explicit 'Use when' clause covers the three motivating needs (metadata, picture, de-identified copy) and a 'Not for' clause excludes diagnosis, burned-in-text certification, and series over 30 MB. An agent can decide without 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