Skip to main content
Glama

vision

Computer vision: describe or analyze an image with a LOCAL multimodal model (llava). For agents that need to 'see' (describe scenes, read diagrams, classify images). Upload the image via multipart or as 'archivo_b64'; 'input' = the question or instruction abou [x402: 0.008 USDC on Base, pay-per-use]

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": {
      "file_b64": "<file_b64>"
    },
    "name": "vision"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoWhat you want to know about the image
file_b64YesFile as base64 (or upload it via multipart)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / archivo_b64
      Removed value: -{
      -  "description": "Imagen en base64 (o subir 'archivo' por multipart)",
      -  "type": "string"
      -}
    • addedInput schema / properties / file_b64
      Added value: +{
      +  "description": "File as base64 (or upload it via multipart)",
      +  "type": "string"
      +}
    • changedInput schema / properties / input / description
      Previous value: -"Qué quieres saber de la imagen"New value: +"What you want to know about the image"
    • changedInput schema / required
      Previous value: -[
      -  "archivo_b64"
      -]New value: +[
      +  "file_b64"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description does carry part of the burden and does add real value: it names the underlying model (llava, local) and discloses pay-per-use pricing (x402, 0.008 USDC on Base), which is meaningful cost/auth context an agent needs before calling. However, it says nothing about latency, supported image formats/sizes, or what the response looks like, which matters for a model-inference tool with no annotations and no output schema.

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

Conciseness3/5

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

Front-loaded with the core purpose and efficiently packaged, but the final clause is truncated mid-sentence ('the question or instruction abou') and the bracketed payment tag is appended awkwardly. Readable, but not cleanly structured.

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 two-parameter tool with a fully documented schema this is roughly adequate, and the pricing disclosure is a genuine plus. Still missing for an inference tool with no annotations and no output schema: what the model returns (free text vs. classification label), and any limits on image size or encoding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description actively introduces a wrong parameter name: it tells the caller to pass the image as 'archivo_b64' while the schema requires 'file_b64'. The multipart alternative is a useful addition, but the naming mismatch risks a failed invocation.

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?

States a specific verb and resource: describe or analyze an image using a local llava multimodal model, and lists concrete sub-uses (describe scenes, read diagrams, classify images). The purpose is unambiguous, though it does not explicitly differentiate itself from visual-adjacent siblings such as audio-to-text or code-explain.

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?

'For agents that need to see' supplies a use-case context, but there is no when-not guidance, no mention of prerequisites or image constraints, and no routing to an alternative tool. Usage is implied rather than prescribed.

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.