lookup_qr_code
Generate a QR code data URL for arbitrary text. Pass ?text=... as query. Use for print, signage, ticketing agents. Example call: {"query_string": "text=https://api.gocreativeai.com"} Cost: $0.005–$0.05 USDC on Base per call.
This record as markdown: /tools/io-github-colinhughes2121-gocreative-agent-api/lookup-qr-code.md
What lookup_qr_code does on GoCreative Agent API
AI agents use lookup_qr_code to commit financial operations through GoCreative Agent API, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
query_string | string | — |
Parameters from the server's own tool schema.
Why lookup_qr_code is rated Critical
Although the tool's primary function (generating a QR code data URL) is a Read/Execute operation, every call incurs a real financial transaction in USDC on Base. Per the severity rules, Financial is the most severe applicable category and takes precedence. Severity is medium because the per-call cost is small but repeated or bulk misuse could accumulate meaningful charges.
From the tool's definition Cost: $0.005–$0.05 USDC on Base per call. The server description states 'Pay-per-call' with 'x402 + USDC on Base', meaning each invocation commits a micropayment.
Attacks that exploit this kind of access
The rule that runs lookup_qr_code safely
PolicyLayer is an MCP gateway: it sits between your AI agents and GoCreative Agent API, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For lookup_qr_code, this is the rule to start with:
Any call to lookup_qr_code is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect GoCreative Agent API, apply this rule, and every lookup_qr_code call is checked against it from then on.
Questions about lookup_qr_code
Generate a QR code data URL for arbitrary text. Pass ?text=... as query. Use for print, signage, ticketing agents. Example call: {"query_string": "text=https://api.gocreativeai.com"} Cost: $0.005–$0.05 USDC on Base per call. It is categorised as a Financial tool in the GoCreative Agent API MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
lookup_qr_code accepts 1 parameter: query_string. The full parameter table on this page comes from the server's own tool schema.
Register the GoCreative Agent API MCP server in PolicyLayer and add a rule for lookup_qr_code: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches GoCreative Agent API. Nothing to install.
lookup_qr_code is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the lookup_qr_code rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for lookup_qr_code. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
lookup_qr_code is provided by the GoCreative Agent API MCP server (https://api.gocreativeai.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on GoCreative Agent API, and thousands of servers like it.
Across the catalogue