Skip to main content
Glama

Start Company Enrichment and Wait

start_company_enrichment_and_wait

POST /v1/company/enrich then poll GET /v1/company/enrich/{job_id}/status until status is "completed" or "failed" or timeout. Same params as start_company_enrichment plus poll_interval_seconds and timeout_seconds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_company_enrichment_and_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
listNoList slug to add enriched companies to.
domainNoCompany website domain (e.g. example.com).
domainsNoBatch: multiple domains to enrich in one job.
webhook_urlNoOptional webhook URL to receive job completion notifications.
company_nameNoCompany name (used when domain is not available).
country_codeNoOptional ISO 2-letter country code to improve matching.
strict_matchNoWhen true, require a strict match for enrichment.
skip_if_existsNoWhen true, skip domains already in the list.
global_ultimateNoWhen true, always return the global ultimate parent.
timeout_secondsNoMaximum time to wait for completion (in seconds). Defaults to 60 seconds.
poll_interval_secondsNoHow often to poll the job status (in seconds). Defaults to 5 seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / domains / description
      Previous value: -"Batch: multiple domains to enrich."New value: +"Batch: multiple domains to enrich in one job."
    • changedInput schema / properties / skip_if_exists / description
      Previous value: -"Skip domains already in list."New value: +"When true, skip domains already in the list."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Discloses the composite POST-then-poll behavior, the terminal statuses checked, and timeout behavior. Annotations only indicate non-read-only, non-idempotent, non-destructive, so the description adds essential behavioral context about waiting and polling. It doesn't mention what happens on timeout or what the return value is, but the core behavior is well covered.

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?

A single dense sentence conveys the entire operation and parameter relationship. Every clause adds value, and the structure is front-loaded with the core HTTP sequence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 11 parameters, no required fields, and no output schema. The description explains the workflow but omits what the tool returns after waiting (e.g., the final enrichment result or just the status). It also doesn't clarify timeout return behavior. Given the complexity, this is a gap, but the operation itself is clearly described.

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% with each parameter documented. The description adds useful context that most parameters are inherited from start_company_enrichment and that poll_interval_seconds and timeout_seconds are the new additions, but it doesn't add per-parameter semantics beyond the schema. Baseline 3 is appropriate.

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 description clearly states the tool's purpose: POST to /v1/company/enrich, then poll the status endpoint until 'completed' or 'failed' or timeout. It names the specific resources and actions, and explicitly contrasts with start_company_enrichment by noting it adds polling parameters.

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?

The description implies this is the blocking/waiting variant by describing the polling flow and referencing start_company_enrichment as the base. It provides clear context for when to use it, but doesn't explicitly state when not to use it (e.g., 'use start_company_enrichment instead if you want to poll manually').

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