Skip to main content
Glama
Open-Detector MCP

Open-Detector MCP

by eslam-allam

get_model_status

Check whether the detection model is cached, downloading, or loaded and optionally warm it up before scoring, so users can be warned about the one-time 440 MB download.

Instructions

Check whether the detector is cached, downloading, or loaded.

Returns instantly unless warmup=true. Call this before the first detection so you can warn the user about the one-time ~440 MB Hugging Face download. Set warmup=true to load the model into memory before scoring (adds a few seconds, avoids a slow first detection).

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

Input Schema

NameRequiredDescriptionDefault
warmupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/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 most of it: latency profile ('returns instantly unless warmup=true'), the one-time 440 MB download cost, and the side effect of warmup (loading the model into memory, adding a few seconds). Remaining gaps are whether a warmup call blocks until the download finishes and what is reported during an in-progress download, both of which affect how the agent should sequence calls.

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 purpose, then usage, then the parameter trade-off; roughly four short sentences with almost no filler. There is minor overlap between 'load the model into memory before scoring' and 'avoids a slow first detection', but nothing is wasted enough to impede scanning.

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

Completeness5/5

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

For a single optional-parameter status tool with no output schema, the definition covers purpose, timing, cost of the one-time download, and the warmup trade-off, which is everything needed to call it correctly. The enumerated states double as a description of the return value in the absence of an output schema.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must define the sole parameter, and it does: warmup=true is framed as a pre-loading action with a stated cost (a few seconds) and benefit (avoids a slow first detection). That is meaning beyond the bare boolean and its default.

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?

Names a concrete verb and resource and enumerates the exact states the tool reports (cached, downloading, loaded), so an agent knows precisely what question it answers. It is clearly distinguishable from the sibling detection tools, which perform scoring rather than status checks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs 'Call this before the first detection so you can warn the user about the one-time ~440 MB Hugging Face download', giving both the moment and the motive. It also tells the agent when to prefer the warmup path ('Set warmup=true ... avoids a slow first detection'), which functions as the alternative-selection rule.

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