Skip to main content
Glama
ekaone

ekaone/mcp-tools

by ekaone

mask_card

Mask credit or debit card numbers to protect sensitive payment data. Shows only the last four digits, supporting all major card types for PCI DSS compliance.

Instructions

Masks a credit or debit card number to protect sensitive payment information. Use when the user wants to hide, protect, or anonymize card numbers in a table, display, or logs. Supports Visa, Mastercard, Amex, Discover, JCB, and all major card types. Follows PCI DSS compliance by default (shows last 4 digits only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesThe card number to mask. Accepts formatted input like '4532-1234-5678-9012' or plain digits.
maskCharNoCharacter used for masking. Default is '*'.
unmaskedEndNoNumber of digits to keep visible at the end. Default is 4.
unmaskedStartNoNumber of digits to keep visible at the beginning. Default is 0.
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It reveals PCI DSS compliance by default (last 4 digits only) and lists supported card types. However, it does not describe return behavior or error handling, leaving some ambiguity.

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 description is four sentences long, with each sentence contributing distinct information: purpose, usage, supported types, and compliance. It is efficient and front-loaded with the primary action.

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

Completeness4/5

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

Given the tool's simplicity and full schema coverage, the description covers purpose, usage, and key behavioral defaults. It does not explicitly describe the return value, but for a masking operation this is largely implied. Overall, it is sufficiently complete for an agent to use correctly.

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?

The input schema provides 100% description coverage for all four parameters, so the description adds little beyond what the schema already states. The schema itself explains the value parameter accepts formatted input, so there is no additional semantic value from the description.

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 masks credit/debit card numbers to protect sensitive payment information, using the specific verb 'masks' and resource. It distinguishes from sibling 'mask_email' by focusing on card types. The purpose 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 Guidelines4/5

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

The description provides clear usage context: 'Use when the user wants to hide, protect, or anonymize card numbers in a table, display, or logs.' However, it does not explicitly mention alternatives or exclusions, so it stops short of full guidance.

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/ekaone/mcp-tools'

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