Skip to main content
Glama

Read a business card photo

scan_business_card

Reads one photo of a paper business card and returns the contact: name, company, job title, phones, emails, websites, address and social handles, in the script printed on the card. Needs an access_token from request_scan_access (3 reads per token; a photo with no card on it still counts). Send the photo as image_url (a public https link) or image_base64, not both. The photo is read and not kept.

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": {
      "access_token": "<access_token>"
    },
    "name": "scan_business_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_urlNoA public https:// link to the photo (JPEG, PNG, WebP or GIF).
access_tokenYesThe token from request_scan_access.
image_base64NoThe photo as base64 (JPEG, PNG, WebP or GIF), about 1600 pixels on its long side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations are supplied, and the description adds genuinely non-obvious behavior: quota consumption with 3 reads per token, failed/blank photos still counting, mutual exclusivity of the two image inputs, and the privacy note that the photo is read and not kept. That quota detail also explains why readOnlyHint=false despite no visible mutation. It stops short of describing accuracy/confidence or what happens when the token is exhausted.

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?

Three tight sentences with zero filler: capability and return fields first, then the credential/quota constraint, then the input format rule. Each sentence carries distinct, actionable information and the most decision-critical facts are front-loaded.

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?

No output schema exists, but the description enumerates the returned contact fields in enough detail to substitute for one. Combined with the prerequisite token tool, quota limits, format constraints, and retention policy, an agent has everything needed to invoke this correctly on the first try.

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 all three parameters are already documented, including accepted formats and the ~1600px guidance. The description adds one real constraint not encoded in the schema — image_url and image_base64 are mutually exclusive — but otherwise restates what the schema provides, so it sits at the baseline.

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 and resource ('Reads one photo of a paper business card') and enumerates exactly what comes back: name, company, job title, phones, emails, websites, address, social handles, and even the script on the card. An agent knows precisely what this does and what it yields without opening the 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?

Gives clear preconditions (needs an access_token from request_scan_access) and operational constraints (3 reads per token, blank photos still consume a read, supply image_url OR image_base64, not both). It doesn't state exclusions such as 'not for multi-card images' or route to a sibling for other input types, so it falls just short of full when/when-not guidance.

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.

Resources