Skip to main content
Glama
thenavidm

Lemon Squeezy MCP Server

by thenavidm

Get file

get_file
Read-onlyIdempotent

Retrieve a specific file by its opaque resource ID from Lemon Squeezy, optionally including related variant data for commerce workflows.

Instructions

Retrieves the file with the given ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExact opaque native resource ID; no traversal or URL.
accountNoExact private profile label. Does not prove store ownership; mode applies to the main API key only.
includeNoComma-separated native relationships from pinned official SDK: variant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds nothing beyond that — no error/not-found behavior, no note about what the returned file contains, no permission requirements.

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?

A single short sentence with the resource and key front-loaded; no filler. It is arguably under-specified rather than verbose, but structurally efficient.

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

Completeness3/5

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

For a read-only getter with complete annotations and full schema coverage, the essentials for invocation are present. However, with no output schema, the description does nothing to describe what the file object contains or what happens on a missing ID, leaving a modest gap.

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 (id, account, include) are fully documented in the schema. The description adds no meaning beyond it, which is the baseline 3 for high-coverage schemas.

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 states a specific verb and resource ('Retrieves the file') plus the keying mechanism ('with the given ID'). It is clearly distinguishable from list_files by the singular get semantics, though it does not explicitly name the sibling boundary.

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?

There is no when-to-use guidance, no mention of when to prefer list_files, and no statement of prerequisites or context. The agent is left to infer that this is a direct-ID lookup.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.