Skip to main content
Glama

Add watch

add_watch

Passa a monitorar um CNPJ com a sua carteira de crédito. Os 10 primeiros são grátis; cada vaga a mais debita US$ 0,50 do saldo (30 dias). Estourou a cota: 402 com accepts[] (x402) — ou, com token de crédito, o débito direto do saldo. Pague e repita a mesma chamada com X-PAYMENT; a vaga fica no direito global e a watch entra.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cnpjYesCNPJ a monitorar, 14 dígitos.
creditoYesToken do crédito global (cred_…), de POST /api/credito.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / cnpj / description
      Previous value: -"CNPJ a acompanhar, 14 dígitos sem pontuação."New value: +"CNPJ a monitorar, 14 dígitos."
    • addedInput schema / properties / credito
      Added value: +{
      +  "description": "Token do crédito global (cred_…), de POST /api/credito.",
      +  "type": "string"
      +}
    • removedInput schema / properties / session_id
      Removed value: -{
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "session_id",
      -  "cnpj"
      -]New value: +[
      +  "credito",
      +  "cnpj"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / cnpj / description
      Added value: +"CNPJ a acompanhar, 14 dígitos sem pontuação."
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile, and the description adds substantial behavior beyond that: the pricing model, the 402 response with accepts[] (x402), the direct balance debit with a credit token, and the requirement to repeat the identical call with an X-PAYMENT header to complete the purchase. This is unusually rich disclosure of cost, error handling, and retry semantics for a non-read-only tool.

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?

The core purpose is front-loaded in the first sentence, with payment mechanics following. The single paragraph is dense with x402/payment jargon but every clause carries operational information, so it is efficient if somewhat overloaded.

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?

With no output schema and only two parameters, the description covers the essential behavior: cost, quota, error response, payment retry, and the end state of a successful call. It is close to complete, with only minor gaps such as what identifies the created watch afterward.

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 coverage is 100% and both parameters (cnpj, credito) already carry descriptions, so the schema does the heavy lifting. The description reinforces the credit-token and CNPJ concepts but adds no syntax or format detail beyond the schema, which is the expected baseline of 3.

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: starting to monitor a CNPJ against the caller's credit wallet. It clearly describes the action's consequence (the watch enters), though it never names the obvious sibling list_watches to make the add-vs-list contrast explicit.

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 clear operational context: the first 10 watches are free, each additional slot costs US$0.50 for 30 days, and it explains the payment path when the quota is exceeded. It does not, however, tell the agent when not to use this tool or point to an alternative like list_watches for inspection.

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