Skip to main content
Glama

agentcheck_create_target

Destructive

Enroll something to monitor: an http endpoint (JSON or OpenAI-style chat), a remote MCP server (Streamable HTTP url) or an A2A agent (origin with /.well-known/agent-card.json). Pass checks to create checks in the same call (POST /api/v1/probe proposes three). Returns the target id, the public status page, the badge SVG URL and a README snippet. The first check runs on the next scheduled tick, within five minutes; call agentcheck_run_now to run immediately. Free tier: 1 target, hourly; Starter+: 5-minute checks. Requires an API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoendpoint URL (http/mcp) or the agent's origin (a2a)
authNocredential the prober sends to your endpoint: {type:'bearer',token} or {type:'header',name,value}. Stored encrypted and never returned or logged.
kindYeshttp (JSON or chat endpoint), mcp (Streamable HTTP url, or npx/uvx package spec), a2a (agent card)
nameNodisplay name; defaults to the host
slugNoURL slug for /<owner>/<slug>; defaults to a slug of the name
alertsNowhere to send an incident when a check starts failing. Any combination; omit it and incidents are visible only on the status page.
checksNochecks to create right away (the probe proposes three)
formatNohttp: openai_chat (POST /chat/completions body), json (raw POST), get (plain fetch)
headersNoextra request headers
isPublicNopublic status page + badge (default true)
modelVarNothe model your agent runs on (e.g. claude-sonnet-5); enables model-drift re-runs
corpusUrlNoRAG targets: public corpus URL for the nightly groundedness scorer (Pro)
modelHeaderNorequest header your endpoint accepts to override the model (drift re-runs try the new model)
packageSpecNomcp only: `npx @org/server` / `uvx server` — runs on the mcpcheck runner, not the scheduled checks
agentCardUrlNoa2a: explicit agent card URL when it is not at /.well-known/agent-card.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / packageSpec / description
      Previous value: -"mcp only: `npx @org/server` / `uvx server` — runs on the mcpcheck runner, not the minute checks"New value: +"mcp only: `npx @org/server` / `uvx server` — runs on the mcpcheck runner, not the scheduled checks"
  2. Changed3 schema fields changed
    • addedInput schema / properties / alerts / description
      Added value: +"where to send an incident when a check starts failing. Any combination; omit it and incidents are visible only on the status page."
    • addedInput schema / properties / auth / description
      Added value: +"credential the prober sends to your endpoint: {type:'bearer',token} or {type:'header',name,value}. Stored encrypted and never returned or logged."
    • addedInput schema / properties / checks / items / properties / golden / description
      Added value: +"how the answer is judged. exact / contains / regex / json_schema are free and deterministic; rubric and baseline call the LLM judge, and baseline compares against the last known-good answer."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare destructive/non-idempotent/open-world, and the description goes beyond them with scheduling behavior (first check on the next tick, within five minutes), rate/tier limits, the API-key requirement, and the shape of the return payload. It still doesn't say what happens on a slug/name collision or whether repeated calls create duplicate targets, which matters given idempotentHint=false.

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?

Dense but front-loaded: enrollment scope first, then same-call checks, then return payload, then timing, then tier limits, then the auth prerequisite. Every sentence carries information, though the long parenthetical enumerations make it heavier than it needs to be.

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?

For a 15-parameter, nested-object creation tool with no output schema and no output description, the description does the important work: it explains what is returned, the async first-run timing, the auth requirement, and the tier floors that bound intervalSec. Remaining gaps (collision behavior, whether duplicate enrollments are rejected) are minor but real.

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 baseline is 3 and the schema already carries kind, url, auth, alerts, checks, modelVar, etc. The description adds only one behavioral note about parameters — that passing `checks` creates them in the same call and that POST /api/v1/probe proposes three — so it does not meaningfully exceed the schema for the other 14 parameters.

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?

The first sentence states a concrete verb (enroll) and enumerates the exact resource types it accepts — http endpoint (JSON or OpenAI-style chat), remote MCP server (Streamable HTTP url), or A2A agent. It also states what comes back (target id, status page, badge SVG, README snippet), so an agent can distinguish it from siblings like agentcheck_add_check without opening any schema.

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

Usage Guidelines4/5

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

It gives real usage context: call agentcheck_run_now to run immediately instead of waiting up to five minutes for the next tick, and it surfaces tier constraints (Free: 1 target hourly; Starter+: 5-minute checks). It does not, however, say when NOT to use it — e.g. that adding checks to an existing target is agentcheck_add_check's job.

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.