Skip to main content
Glama

Contact (MeCard) QR payload

qr_payload_mecard
Read-onlyIdempotent

Build a MeCard contact payload (MECARD:N:last,first;TEL:...;;), the compact alternative to a vCard: fewer characters, so a smaller code. Android phones read it; Apple doesn't document it for the iPhone Camera, so prefer qr_payload_vcard when the contact must reach every phone. 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": {
      "firstName": "<firstName>"
    },
    "name": "qr_payload_mecard"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoWebsite URL
noteNoFree-form note
emailNoEmail address
phoneNoPhone number, international format recommended
addressNoPostal address, one line
readingNoHow the name is read, like kana for a Japanese name (SOUND)
birthdayNoBirthday, YYYY-MM-DD
lastNameNoFamily name
nicknameNoNickname
firstNameYesGiven name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's job is to add context, and it does: it reveals the output shape (a MECARD string), the platform compatibility caveat (Android reads it, Apple doesn't document it for iPhone Camera), and the downstream chaining requirement. These are behavioral facts an agent could not derive from the annotations or schema.

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 tightly packed sentences: capability and format first, compatibility caveat and sibling routing second, with the chaining instruction last. Every clause carries decision-relevant information and nothing is repeated from the schema or annotations.

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 pure payload builder with fully described parameters and no output schema, the description covers what the output is, who can read it, the tradeoff against the vCard sibling, and the required next call. An agent has everything needed to select and invoke it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds a genuine hint about field ordering in the MeCard format ('N:last,first') that the flat parameter list does not convey. It stops short of explaining how the ten optional fields map onto MeCard keys, so it is an improvement rather than a full semantic treatment.

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 opens with a specific verb and resource ('Build a MeCard contact payload') and shows the literal wire format (MECARD:N:last,first;TEL:...;;). It explicitly positions itself against the sibling qr_payload_vcard as the compact alternative, so an agent can distinguish them without opening either schema.

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

Usage Guidelines5/5

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

It states both when to use it (compact payload, Android readers, smaller code) and when to avoid it ('prefer qr_payload_vcard when the contact must reach every phone'), naming the alternative and the exact condition. It also tells the agent the next step: pass the result as `data` to generate_qr_code.

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.