Skip to main content
Glama

Create a card

lob_cards_create
Idempotent

Create a printed card insert (e.g., business card, gift card) for letters by uploading front and optional back content.

Instructions

Upload a card — a small printed insert (e.g. business card, plastic gift card) that can be inserted with a letter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frontYesFront content source.
backNoBack content source.
descriptionNo
sizeNoCard size per Lob docs.
metadataNoUp to 20 string key/value pairs of arbitrary metadata to attach to the resource.
extraNoAdditional Lob API parameters not enumerated above. Merged into the request body verbatim. See https://docs.lob.com for the full parameter list per resource.
Behavior3/5

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

Annotations already indicate non-read-only, non-destructive, idempotent, and open-world behavior. The description adds that the card can be inserted with a letter, but doesn't expand on other behavioral traits (e.g., authentication required, response format, resource lifetime). No contradiction with annotations.

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?

The description is a single, concise sentence that conveys the essence of the tool without extraneous words. It is front-loaded with the action and followed by a clarifying example.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 6 parameters, no output schema, and no return value description, the description is insufficient. It doesn't explain what the tool returns, how to handle errors, or how the card creation fits into a larger workflow. The annotations provide some guidance, but the description alone leaves important gaps.

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?

With 83% schema coverage, the schema describes most parameters. The description doesn't add meaning beyond the schema; it mentions the card's purpose but doesn't clarify how to specify 'front' or 'back' (e.g., file path or template ID). Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Upload a card' – a specific verb and resource – and explains what a card is (small printed insert). It distinguishes itself from sibling card tools like get/list/orders, though it could be more explicit about creation vs other actions.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives (e.g., postcards, letters). There are no prerequisites, context, or mentions of complementary tools, leaving the agent to infer usage from the name alone.

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/optimize-overseas/lob-mcp'

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