Skip to main content
Glama

MAC address generator

generate_mac_address
Read-only

Generate random locally administered, unicast MAC addresses, optionally with a fixed prefix, custom separator, casing, and count for testing or network configuration.

Instructions

Generate random MAC addresses (locally administered, unicast by default), optionally with a fixed prefix. (Same as IT-Tools /mac-address-generator.)

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

Input Schema

NameRequiredDescriptionDefault
countNo
prefixNoFixed leading octets, e.g. "52:54:00"
separatorNo:
uppercaseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and idempotentHint=false, so safety and non-determinism are covered structurally. The description usefully adds that generated addresses are locally administered and unicast by default, but it says nothing about the return shape (single value vs. list when count > 1) or any limit on how many can be produced.

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?

Two compact sentences with the primary behavior front-loaded and defaults stated inline. The IT-Tools reference parenthetical is low-value but costs only a few words.

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

Completeness2/5

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

For a generator with four parameters, 25% schema coverage, and no output schema, the description should at least sketch what the output looks like (one address per line, whether separator/uppercase affect formatting, behavior at count>1). It omits all of that, leaving an agent to infer the return format from the IT-Tools reference.

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 description coverage is only 25% (just prefix), so the description should compensate more than it does. It restates the prefix concept as 'fixed leading octets' but leaves count, separator, and uppercase entirely to the schema, adding no syntax or interaction detail beyond what is already structured.

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?

The description gives a specific verb and resource (generate random MAC addresses) plus qualifying behavior (locally administered, unicast by default), so an agent knows exactly what comes back. It does not explicitly differentiate itself from the sibling mac_address_format, which handles formatting rather than generation, so it stops short of a 5.

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: 'optionally with a fixed prefix' hints at when the prefix parameter matters, but there is no statement of when to reach for this tool versus mac_address_format or any other sibling. No exclusions, prerequisites, or alternatives are given.

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