Skip to main content
Glama

Wi-Fi QR payload

qr_payload_wifi
Read-onlyIdempotent

Build a Wi-Fi network payload (WIFI:T:WPA;S:...;P:...;;) that phones join when scanned. Pass the result as data to generate_qr_code.

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": {
      "ssid": "<ssid>"
    },
    "name": "qr_payload_wifi"
  }
}

Input Schema

NameRequiredDescriptionDefault
ssidYesNetwork name (SSID)
hiddenNoTrue when the network does not broadcast its SSID
passwordNoNetwork password. Leave out for open networks.
securityNoWPA covers WPA, WPA2 and WPA3 personal networks; nopass is an open networkWPA

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds the composition contract that matters here: the tool produces a string payload that must be forwarded to generate_qr_code, and that the payload encodes a network phones can join. It does not mention escaping of semicolons/colons in SSIDs or passwords, a real behavioral caveat for this format.

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?

Two sentences, zero waste: the payload shape and purpose come first, the downstream usage second. Every clause earns its place and nothing is repeated from the schema.

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?

With no output schema, the description still tells the agent what the return value is (a WIFI: payload string) and what to do with it, and the four parameters are fully covered in-schema. Only the special-character escaping caveat for this encoding is unaddressed, which is minor for a pure builder tool.

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 100%, so every parameter is documented in-schema with defaults, enum values and the hidden/open-network cases. The description's format example only implicitly maps ssid→S, password→P, security→T, which is marginal added meaning. Baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb (build) and concrete resource (Wi-Fi network payload), and even shows the emitted WIFI: format with T/S/P tokens. That is enough for an agent to distinguish it from the other qr_payload_* siblings (email, geo, sms, vcard) without opening any schema.

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?

Explicitly routes the agent forward: "Pass the result as `data` to generate_qr_code." That is real when-to-use guidance tied to a named sibling. It stops short of stating when not to use it (e.g. choose qr_payload_email for e-mail payloads), so not a 5.

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.