Skip to main content
Glama

Ping slug

ping_slug
Read-onlyIdempotent

Create a monitor on its first check-in. The same slug uses the same monitor. Service and billing limits apply. A rejected creation writes no monitor or event. The slug becomes the monitor name and its identity: the same slug always means the same monitor, so a retry never creates a second one. Normalised to lowercase, [a-z0-9-], 40 chars. Creation happens only inside the free tier (or the trial); past it the ping is a 402 with accepts[] and nothing is written — not even the event. Works by GET or POST. Returns: { ok, endpoint_id, created } Example: curl -fsS "$ORIGIN/in/$INGEST_KEY/nightly-backup?cron=0%203%20*%20*%20*&tz=UTC&grace_sec=900" Errors: 400: slug_invalido — nothing usable left after normalising. With cron: cron_invalido, tz_invalida, grace_invalido or cron_sem_ocorrencia.; 402: The free tier is full: pay and repeat, or delete a monitor.; 404: Unknown or rotated ingest key.

Input Schema

NameRequiredDescriptionDefault
slugYesName of the job; it becomes the monitor name.
ingestKeyYesIngest key, from `GET /api/ingest-key`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / ingestKey / enum
      Removed value: -[
      -  "hpk_exemplo"
      -]
  2. Added

TDQS

B3.3/5.0
Behavior1/5

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

The description explicitly states that this tool writes state: it creates a monitor, and 'a rejected creation writes no monitor or event' implies successful creation does write. The annotations declare readOnlyHint=true, so the structured metadata mislabels a state-creating call, which is exactly the contradiction case. The description's own disclosure is detailed (idempotency, free-tier gating, 402 with accepts[], normalization), but the conflict with the annotation is disqualifying for this dimension.

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 core action and identity rule, then limits, transport, and errors in a workable order; the example and error table both earn their place. There is redundancy — 'The same slug uses the same monitor' is restated as 'the same slug always means the same monitor, so a retry never creates a second one' — and the error sentence is a dense run-on.

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 supplies the return shape ({ ok, endpoint_id, created }), the failure modes with codes (400, 402, 404) and their remediation, and the free-tier write constraint. Nothing an agent needs in order to call this correctly is missing, apart from the annotation mismatch noted elsewhere.

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 coverage is 100%, so baseline would be 3, and the description adds real meaning on top: slug is normalized to lowercase [a-z0-9-] capped at 40 chars, it becomes both the monitor name and its identity, and the curl example shows extra query arguments (cron, tz, grace_sec) that the input schema does not expose. That extra semantics — plus the error names slug_invalido, cron_invalido, tz_invalida — genuinely helps an agent construct a valid call.

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?

The description states a specific verb and resource — 'Create a monitor on its first check-in' via a slug ping — and defines the identity rule (same slug = same monitor) plus the transport ('Works by GET or POST'). It never names the sibling it should be preferred over (create_endpoint, ping_ingest, signal_slug), so it falls short of full sibling differentiation.

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 context is strong on constraints — creation happens only inside the free tier or trial, retries are safe, past the tier you get a 402 — but it gives no routing guidance telling an agent when to pick this over create_endpoint or the other signal_* tools. The when-not is clear; the when-versus-alternatives is absent.

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.