Skip to main content
Glama

detectObjects

Read-only

Detects and labels the objects present in an image using a neural network. The image is sent in the body of the POST request.

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": {
      "image": "<image>"
    },
    "name": "detectObjects"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesImage file. Must be either JPEG or PNG format and smaller than 2000 by 2000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already establishes this is a safe read, so the description is not carrying the full burden. It adds one useful behavioral detail — the image is sent in the POST body — but says nothing about what the neural network returns (labels only? boxes? confidence?) or any size/latency constraints beyond the schema.

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?

Two short sentences, purpose front-loaded. The second sentence about the POST body is marginally useful rather than essential, but nothing is bloated.

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 single-parameter detection tool with no output schema, the description is functional but leaves the return shape undefined. An agent cannot tell whether it gets class labels, bounding boxes, or confidence scores, which is meaningful missing context for a detection tool.

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 single 'image' parameter is fully documented with format and dimension constraints. The description's only addition, that the image goes in the POST body, is transport detail already implied; baseline 3 is appropriate.

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+resource: 'Detects and labels the objects present in an image using a neural network.' This clearly distinguishes it from detectFaces and extractTextFromImage by the resource (generic objects vs faces vs text), though it never names those siblings explicitly.

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?

No when-to-use or when-not-to-use guidance is given. With close siblings like detectFaces and extractTextFromImage available, the description should say which task this covers, but it offers no routing cues or exclusions.

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