Skip to main content
Glama

OpenEye

Detect objects

openeye_api_detect
Read-only

Detect objects in an image with YOLOv8 on the hosted API. Returns labels, confidences and pixel bounding boxes for the 80 COCO classes. Costs 1 credit.

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": "openeye_api_detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_urlNoPublic http(s) URL of a JPEG or PNG image.
confidenceNoMinimum confidence to keep a detection.
image_base64NoJPEG or PNG bytes, base64 encoded (a data: URL also works). Use instead of image_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint, openWorldHint), and the description adds genuinely new behavioral context: the model used, the return contents, and the 1-credit cost, which matters for call budgeting. It stops short of rate limits, image size caps, or failure modes, so not a 5.

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 short sentences, zero filler, with the core action and model front-loaded and the cost constraint last. Every sentence contributes distinct information.

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

Completeness4/5

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

With no output schema, the description correctly compensates by enumerating return fields (labels, confidences, pixel bounding boxes). Combined with annotations and full schema coverage this is nearly complete; only operational limits such as max image size or rate behavior are absent.

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 (image_url, confidence with default/min/max, image_base64) are already fully documented, including the 'use instead of image_url' mutual exclusivity note. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Detect objects in an image'), names the model (YOLOv8), the hosting mode, and the returned fields with the exact class set (80 COCO classes). An agent knows precisely what this does and what it gets back without opening the schema.

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 implied by the single sentence of scope, and the sibling tools (describe, models, usage) are metadata endpoints so no detection alternative exists to route away from. However, there is no explicit when-to-use framing, no guidance on choosing image_url versus image_base64 beyond what the schema already says, and no prerequisites or limits stated.

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.