Skip to main content
Glama

Metis · Data Guardian — Scan Outgoing

scan_outgoing

Check drafted responses for leaked personally identifiable information (PII) before sending. Returns verdict, found items, and a masked version safe to output.

Instructions

Output rail: check a drafted response for leaked PII before it's sent.

The output-side complement to the read-side hook. Agents call this on any
response that might contain individual-level data; it enforces the
constitution's no-pii-output rule. Returns a verdict, what was found, and a
masked version safe to send.

Args:
    text: The drafted response text to check.

Returns JSON: {safe: bool, found: {type: count}, masked: str}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description explains the action (checking for PII) and the return values (verdict, found, masked), but does not explicitly state whether the tool is read-only or if it has side effects. Given no annotations are provided, more explicit disclosure about safety traits would be beneficial, but the description still conveys core behavior.

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

Conciseness5/5

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

The description is concise (6-7 sentences), well-structured with a title, explanation, and a returns section. Every sentence adds value, and the purpose is front-loaded.

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 tool with a single input and a documented output schema (returning JSON with safe, found, masked), the description explains the output structure inline. It is complete and covers all necessary aspects for agent invocation.

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

Parameters5/5

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

The only parameter, 'text', is clearly described in the description: 'The drafted response text to check.' This adds meaning beyond the schema, which only provides type and title. Since schema description coverage is 0%, the description fully compensates.

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 clearly states the tool's function: 'check a drafted response for leaked PII before it's sent.' It uses specific verbs and nouns ('check', 'drafted response', 'PII'), and distinguishes itself from sibling tools like 'check_data_safety' or 'scan_inbox' by emphasizing the output rail and complementing the read-side hook.

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

Usage Guidelines4/5

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

The description explicitly instructs agents to call this on 'any response that might contain individual-level data' and mentions it enforces the constitution's rule. While it does not explicitly state when not to use or list alternatives, the context is clear and sufficient for deciding when to invoke.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SVerITG/Metis'

If you have feedback or need assistance with the MCP directory API, please join our Discord server