Skip to main content
Glama

agentcheck_create_target

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 minute tick; 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 minute 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. 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."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare this is a non-idempotent write in an open world, but the description adds substantial behavior beyond that: the exact response contents (target id, public status page, badge SVG, README snippet), the next-minute-tick scheduling semantics, the free vs Starter+ interval floors, and "Requires an API key". Credential handling ("Stored encrypted and never returned or logged") is also surfaced in the schema, reinforcing the safety profile.

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?

Front-loads the core action, then orders sentences by task flow: what to enroll, the checks shortcut, what comes back, when it runs, tier limits, auth requirement. Each sentence carries distinct information with no redundancy.

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?

With no output schema, the description compensates by enumerating the return values (target id, status page, badge URL, README snippet). Combined with the auth requirement, scheduling tick, tier limits, and the explicit alternative for immediate runs, an agent has everything needed to invoke and interpret this 15-parameter, nested-object tool.

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

Parameters4/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, but the description adds real semantic value beyond the fields: it clarifies that `checks` creates checks in the same call and that the probe endpoint proposes three, and it explains the interval-floor rule ("Free hourly, Starter+ 5 min") that governs `intervalSec`. It does not, however, touch the many other parameters (auth, alerts, modelVar, corpusUrl), which is acceptable given full schema coverage.

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?

Opens with a specific verb+resource ("Enroll something to monitor") and immediately enumerates the three monitorable kinds (http endpoint, remote MCP server, A2A agent), which matches the `kind` enum in the schema. An agent can distinguish this from sibling tools like agentcheck_add_check or agentcheck_run_now 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 Guidelines4/5

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

States when to use the same-call path ("Pass `checks` to create checks in the same call") and names the alternative for immediate execution ("call agentcheck_run_now to run immediately"). It also notes tier-based scheduling limits, but does not explicitly route to agentcheck_add_check for adding checks to an existing target, leaving one gap in the when/when-not picture.

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.