Skip to main content
Glama

Watch a company for changes

watch_company
Idempotent

Register a company (by CUI) to monitor. Stores a fingerprint of its current registry record as the baseline; each watchlist poll then reports changes between monthly ONRC snapshots - a new director, a new CAEN activity, an address or status change - and when ANAF declares it fiscally inactive or its VAT status flips.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cui": "<cui>"
    },
    "name": "watch_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
cuiYesRomanian tax identification number (CUI) of the company to watch, e.g. '2816464'. Watching a company you already watch changes nothing.

Output Schema

NameRequiredDescriptionDefault
okNotrue when the watch is in place.
asOfNoWhat to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source.
errorNoSet only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted.
watchNokind, target, owner (key prefix), county, baseline.
messageNoA sentence for the caller.
attributionNoThe credit line to keep when redistributing the data (CC BY 4.0).
alreadyWatchingNotrue when you already held this watch (nothing changed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / cui / description
      Previous value: -"Romanian tax identification number (CUI) of the firm to watch, e.g. '2816464'. Watching a firm you already watch changes nothing."New value: +"Romanian tax identification number (CUI) of the company to watch, e.g. '2816464'. Watching a company you already watch changes nothing."
    • changedOutput schema / description
      Previous value: -"The watch registered (or already held) for the firm."New value: +"The watch registered (or already held) for the company."
  2. Changed1 schema field changed
    • addedOutput schema / properties / attribution
      Added value: +{
      +  "description": "The credit line to keep when redistributing the data (CC BY 4.0).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / cui / description
      Added value: +"Romanian tax identification number (CUI) of the firm to watch, e.g. '2816464'. Watching a firm you already watch changes nothing."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "The watch registered (or already held) for the firm.",
      +  "properties": {
      +    "alreadyWatching": {
      +      "description": "true when you already held this watch (nothing changed).",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "asOf": {
      +      "description": "What to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "message": {
      +      "description": "A sentence for the caller.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "ok": {
      +      "description": "true when the watch is in place.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "watch": {
      +      "description": "kind, target, owner (key prefix), county, baseline.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, closed-world write, so the bar is lower; the description still adds real context by explaining the mechanism (a stored fingerprint baseline compared against monthly ONRC snapshots) and the exact event types that trigger a report. It does not cover watch limits, latency to first report, or what happens if the company is not found in the registry.

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?

Two sentences, front-loaded with the action, and no filler. The second sentence is a long clause list, but each item (director, CAEN, address, status, ANAF inactivity, VAT flip) conveys distinct monitoring scope rather than padding.

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?

An output schema exists, so return values need not be explained, and the description covers the mechanism, cadence, and event types well for a one-parameter tool. Minor gaps remain around watch limits and the unwatch path, which an agent would need to discover from siblings.

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% for the single parameter, and the schema already documents the CUI format, an example, and the idempotency note. The description only restates 'by CUI', adding no format, validation, or edge-case meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Register a company (by CUI) to monitor') and immediately defines the scope of what is monitored: ONRC snapshot diffs (director, CAEN, address, status) plus ANAF fiscal-inactivity and VAT-status flips. That scope distinguishes it from siblings like watch_caen (CAEN-only) and poll_watchlist (retrieval) without needing to name them.

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 is implied rather than stated: an agent can infer this is the setup step before poll_watchlist, and the note 'Watching a company you already watch changes nothing' clarifies repeat-call behavior. However, there is no explicit when-to-use/when-not guidance versus watch_caen, and no mention of how to stop watching (the unwatch sibling) or any cap on the number of watches.

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