Skip to main content
Glama

check_company_saved

Read-only

Check which companies the user has saved in their CRM, by website domain. Pass domains (1 to 500 company domains or website URLs; each is normalized to its registrable domain). Returns { data } with one row per input domain: { domain, isSaved, companyId? } where isSaved is true only when this user has saved the company, and companyId is the CRM company id whenever a company record exists for that domain (it can exist without being saved by this user). Use it before creating a company or when a flow needs to know whether a company is already in the user's CRM.

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": {
      "domains": "<domains>"
    },
    "name": "check_company_saved"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered, and the description adds genuinely new behavior: inputs are normalized to their registrable domain, and companyId can be populated even when the user has not saved the company. It doesn't discuss batch failure behavior or ordering of the returned rows, which would have pushed this higher.

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 guidance is front-loaded and every clause carries information, but the second and third sentences are dense with nested parentheticals ('(1 to 500 ...; each is normalized ...)', '(it can exist without being saved by this user)') that slow reading. Tightening the parentheticals would improve it without losing content.

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?

There is no output schema, so the description carries the return contract itself and does so completely: the `{ data }` envelope, one row per input domain, and the meaning of each field. Combined with the input normalization rule and the pre-creation usage note, an agent has everything needed to call this correctly.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates for the single parameter: it states the name (`domains`), the accepted value types ('company domains or website URLs'), the 1–500 cardinality, and the normalization rule applied to each entry. Nothing about the parameter's meaning is left to the schema alone.

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 names a specific verb and resource ('Check which companies the user has saved in their CRM, by website domain') and clarifies the exact per-domain output semantics. It even distinguishes the two concepts an agent could conflate — 'isSaved' versus 'companyId' existing independently — so its scope is unambiguous.

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 concrete usage contexts: 'before creating a company' and 'when a flow needs to know whether a company is already in the user's CRM.' That is clear when-to-use guidance, but it stops short of naming a specific alternative tool (e.g. create_company_from_domain) or stating a when-not condition.

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.