Skip to main content
Glama

get_crm_company_by_id

Read-only

Fetch one CRM company by its companyId (the company's 24-hex id — what a company event carries as companyId, and what a contact record's companyId points at). Returns name, domain, industry, address, headquarters country, LinkedIn headcount and revenue. Use it to read the stored details of a company whose id you already have; never page through a list to find one company.

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": {
      "companyId": "<companyId>"
    },
    "name": "get_crm_company_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdYesThe company's 24-hex id (companies._id).

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 cover the safety profile (readOnly, non-destructive, closed-world), so the burden is lower. The description adds value beyond them by disclosing the exact field set returned and by explaining the provenance of the required id (carried on company events, referenced by contact records), which tells the agent where a valid input comes from.

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?

Three tight sentences: identity and input provenance first, return fields second, usage constraint last. Nothing is padding, and the most decision-relevant information is front-loaded.

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?

For a single-parameter read tool with no output schema, the description supplies what an agent needs: how to obtain a valid id, what the response contains, and when not to call it. No material gap remains.

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% and the single parameter is already described as a 24-hex id (companies._id). The description goes further by explaining where that id surfaces in practice (company events and contact records' companyId), which is genuine meaning beyond the schema rather than a restatement.

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 definition opens with a specific verb and resource plus scope: 'Fetch one CRM company by its companyId.' It also enumerates the returned attributes (name, domain, industry, address, country, headcount, revenue), making the tool's contract distinguishable from sibling list/pull tools at a glance.

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 states a clear usage condition ('read the stored details of a company whose id you already have') and an explicit anti-pattern ('never page through a list to find one company'). It stops short of naming the specific alternative tool an agent should use when it lacks an id, so it is strong but not a full when/when-not/alternative triad.

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.