Skip to main content
Glama

x402_lens_post_v1_describe

Analyze images via HTTPS URL or base64 to extract nutrition and allergens, label and document data as JSON, describe medical photos, or answer visual questions.

Instructions

lens — Pay-per-call image understanding endpoints (inclusionAI LingSante 3.1 Air VL): food photo → nutrition/allergens/macros, product/medicine label OCR → structured JSON, medical photo description (not diagnosis), document extraction (receipts, lab reports, prescriptions), generic visual Q&A. Image via https URL or base64 data URI. $0.01/call on Base/Polygon/Arbitrum/World. [POST /v1/describe] $0.01 USDC on eip155:8453+137+42161+480. Example: /v1/describe — body: {image: 'https://…/photo.jpg', question: 'what is this?'}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_lens_post_v1_describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a fair job: it discloses price ($0.01/call), accepted payment rails and chain IDs, HTTP method and path, accepted image transports (HTTPS URL or base64 data URI), and an explicit 'not diagnosis' scope caveat. It omits what happens on payment failure, response shape, and latency, which is a real gap for a paid call.

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?

Front-loaded with the core purpose and pricing, then modes, then transport, then endpoint/example — a sensible order. It is dense and parenthetical-heavy (model name, four chain IDs, bracketed endpoint), but nearly every clause carries information.

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 paid, multi-mode tool with no annotations and no output schema, the description covers inputs, cost, and rails but leaves the agent without any sense of the response format or payment/retry behavior. That is adequate but incomplete for a tool where a wrong call costs money.

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 the baseline is 3. The description does add some value by showing a concrete body example ({image, question}), which makes the otherwise generic 'body' object meaningful, but it says nothing about the query, restart, or operationId parameters.

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 names the resource (image understanding over POST /v1/describe) and enumerates concrete modes: food photo nutrition, label OCR, medical photo description, document extraction, and generic visual Q&A. It is clear what the tool does, but it does not differentiate itself from the specialized siblings (x402_lens_post_v1_food_photo, _label, _document, _medical_photo) that appear to cover the same modes.

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?

Usage is only implied through the enumerated modes and a single example body; there is no explicit statement of when to prefer this generic endpoint over the specialized lens siblings, nor of prerequisites such as payment setup. An agent can guess the general context but gets no routing rule.

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

Deploy Server

Other Tools