Skip to main content
Glama

search_orders

Find customer orders using email addresses to locate payments and manage transactions within the Lemon Squeezy platform.

Instructions

Search for orders by email or customer email. Useful for finding a payment when you only have a user's email address. Returns all orders matching the email.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userEmailYesThe email address of the customer
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions the tool returns all matching orders, which hints at behavior, but lacks details on permissions, rate limits, pagination, or error handling. For a search tool with zero annotation coverage, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with three sentences that are front-loaded: first states the action, second provides usage context, third specifies output. There's no wasted text, though it could be slightly more structured for clarity.

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 no annotations and no output schema, the description is incomplete. It doesn't explain return format, error cases, or behavioral constraints like search scope. For a tool with 1 parameter but missing structured context, it should provide more guidance on what 'returns all orders' entails.

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%, with the parameter 'userEmail' documented as 'The email address of the customer.' The description adds minimal value by restating this as 'by email or customer email,' but doesn't clarify if it's exact match, partial, or case-sensitive. Baseline 3 is appropriate given high schema coverage.

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 the tool searches for orders using email addresses, specifying 'by email or customer email' and 'returns all orders matching the email.' It distinguishes from siblings like 'list_orders' by focusing on email-based filtering, though it doesn't explicitly name alternatives.

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

Usage Guidelines3/5

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

The description implies usage context with 'useful for finding a payment when you only have a user's email address,' suggesting it's for lookup by email. However, it doesn't explicitly state when to use this vs. alternatives like 'get_order' (by ID) or 'list_orders' (general listing), leaving some ambiguity.

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/IntrepidServicesLLC/lemon-squeezy-mcp'

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