Skip to main content
Glama

image classify

image_classify
Read-only

Label an image with ResNet-50 (1,000 ImageNet classes): top-5 labels with confidence. Fast, cheap tagging for photos of animals, objects, food and scenes. Costs $0.002 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo1-5
image_urlNo
image_base64No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds context beyond that: the exact model (ResNet-50/ImageNet), the output shape (top-5 with confidence), and a per-call cost of $0.002 USDC via x402, which is decision-relevant information no annotation conveys. It does not mention latency, rate limits, or failure behavior.

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?

Three tight sentences, front-loaded with the classification behavior, then use case, then cost. Every clause carries information and none is redundant padding.

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?

There is no output schema, and the description adequately states the return shape (top-5 labels with confidence). But with three parameters at 33% schema coverage and zero required parameters, the description should clarify the image-input requirement and mutual exclusivity of image_url/image_base64. Cost and model are covered; input semantics are not.

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 description coverage is only 33% — only `top` is annotated ('1-5'), while image_url and image_base64 have no descriptions at all. The description's 'top-5 labels' hints at the `top` parameter but never explains the image inputs or that callers must supply exactly one of image_url or image_base64 (all params are optional per schema). It does not compensate for the coverage gap.

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 a specific verb (label/classify) and a specific resource/model: ResNet-50 over 1,000 ImageNet classes producing top-5 labels with confidence. That specificity implicitly separates it from free-form siblings like image_describe or vision_ask, but no sibling is explicitly named or contrasted.

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?

'Fast, cheap tagging for photos of animals, objects, food and scenes' gives an implied use case, so an agent can infer this is for quick coarse categorization. However, it never states when NOT to use it or points to an alternative for detailed descriptions (image_describe, vision_ask), so routing guidance is only implied.

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.

Resources