Skip to main content
Glama

Aigine Redact – Upload document for redaction

create_upload_link

Start here when a person in a chat wants a document masked. Aigine Redact detects and masks personal data and confidential information in documents. This creates a 15-minute upload slot on Aigine's EU server and shows an inline upload box in MCP Apps clients, so the PDF, DOCX, PPTX or image (up to 50 MB) goes directly to the EU server and never passes through the chat. Returns upload_id and upload_url (fallback when no widget is shown). When the widget is shown, the user picks policy and mode in it and the widget starts masking itself: do not ask for these choices in chat and do not call propose_masking for that upload, unless the widget sends a message asking you to. When only upload_url is available, ask the user to upload there, then call propose_masking with the upload_id.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the 15-minute slot lifetime, EU-only hosting, the 50 MB limit, supported file types, and that the document never passes through the chat. It also describes the two runtime modes (inline widget vs. fallback URL) and the return values, which the annotations alone do not 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 opening sentence is front-loaded with the trigger, and the flow guidance follows in logical order. Some sentences are long and pack several clauses (widget behavior plus the propose_masking exception), but no sentence is filler.

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 zero-parameter tool with no output schema, the description covers the trigger, the constraints, both execution paths, and the subsequent tool call in each path. An agent has everything needed to invoke it and to handle either response shape correctly.

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?

The tool takes no parameters, so there is no parameter semantics to explain; 4 is the baseline for a zero-parameter schema. The description compensates by explaining what the call produces (upload_id, upload_url) instead of inputs.

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?

The description names a specific verb and resource: it creates a 15-minute upload slot for a document to be masked by Aigine Redact, with supported formats and a size cap. It also distinguishes itself from the sibling tools by telling the agent to start here rather than calling propose_masking for widget-driven uploads.

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?

It states exactly when to use it (a person in chat wants a document masked), and it routes the agent twice: do not call propose_masking for widget uploads, and do call propose_masking with the upload_id when only upload_url is returned. Both branches and the exception (unless the widget asks) are explicit.

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.