Skip to main content
Glama
xs-mahbub

WPCafe MCP Server

by xs-mahbub

create_qrcode

Create QR codes for restaurant tables or locations. Customers scan them to access the online food ordering page directly.

Instructions

Create a new QR code for a table or location. The QR encodes a URL that customers scan to open the food ordering page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDescriptive name for this QR code (e.g. 'Table 5', 'Counter 1')
table_idNoTable identifier (e.g. 'T5', 'BAR-2')
location_idNoLink to a specific restaurant location ID
redirect_urlNoCustom URL the QR code should point to (defaults to site food order page)
Behavior3/5

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

No annotations provided, so description must carry burden. It states the mutation action and that it encodes a URL, but does not disclose side effects, permissions, or return value. Lacks depth for a mutation tool.

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 with no wasted words. Efficiently states purpose and key context.

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?

For a simple create tool with 4 flat parameters and no output schema, the description covers the essential purpose and usage. Lacks mention of response format or error handling, but remains sufficient for typical use.

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 covers 100% of parameters with descriptions. Description adds valuable examples (e.g., 'Table 5', 'T5') and clarifies default behavior for redirect_url. Provides extra meaning beyond schema.

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?

Description explicitly states the action 'Create', resource 'QR code', and its purpose 'for a table or location' with customers scanning to open food ordering page. Clearly distinguishes from sibling tools like delete, update, get, list.

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?

Description implies when to use (need a QR code for table/location) but does not explicitly state when not to use or compare with alternatives. Still, the context is clear enough for the main use case.

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/xs-mahbub/wpcafe-mcp'

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