Skip to main content
Glama

generate_data_masking

Generate data masking utilities with hash, redact, partial, and tokenize strategies for logs, responses, and PII protection

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": {
      "runtime": "<runtime>"
    },
    "name": "generate_data_masking"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesNo
runtimeYes
strategiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does communicate that the output is masking utility code covering four named strategies and three target contexts, which is meaningful behavioral context for a generator. It does not say whether code is returned inline vs written to files, nor whether generation is safe/idempotent, leaving the delivery mechanism opaque.

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?

A single front-loaded sentence with no filler; the purpose and strategies come first, and the use-case clause follows. It is efficient, though a slightly more structured form separating what is generated from where it applies would read even better.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter generator with no output schema and no annotations, the description covers enough to attempt a call with runtime and strategies. The undocumented 'rules' parameter and the unstated return format are the two gaps that keep it from being complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and largely does not. It restates the four strategy values already listed in the enum but says nothing about the required 'runtime' parameter or the 'rules' array, which is the primary customization input and remains completely undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Generate') and resource ('data masking utilities'), then enumerates the four masking strategies it produces. An agent can tell it apart from the neighboring generate_data_factory / generate_test_data_builder style tools, though the description never explicitly contrasts itself with any sibling.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'for logs, responses, and PII protection', which does signal appropriate scenarios. There is no explicit when-to-use/when-not guidance and no named alternative for cases where a different generator is a better fit.

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.