Skip to main content
Glama
dealdesk-mcp

dealdesk-mcp

dealdesk.get_company

Read-only

Retrieve a company by its ID to view company details; include a project ID when your token authorizes multiple DealDesk projects.

Instructions

Get a company by id.

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": "dealdesk.get_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdYes
projectIdNoDealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / projectId / description
      Previous value: -"DealDesk project id (must match API key / OAuth project)"New value: +"DealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects."
    • changedInput schema / required
      Previous value: -[
      -  "projectId",
      -  "companyId"
      -]New value: +[
      +  "companyId"
      +]
  2. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered elsewhere. The description adds nothing beyond that: it does not say what happens on a missing or unauthorized companyId, whether cross-project lookups are permitted, or how the record is returned. For a read tool this is a real but modest gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, which is structurally sound. However, the brevity crosses into under-specification rather than economy — nothing is wasted because almost nothing is said.

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

Completeness2/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 burden of explaining what a company record contains, and it does not. Combined with the missing guidance on the commercial-summary sibling and the undocumented companyId parameter, the definition is too thin for a tool whose result shape the agent must interpret.

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

Parameters2/5

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

Schema description coverage is 50%: projectId is well documented in the schema, but companyId has no schema description at all. The phrase "by id" only weakly signals that companyId is the company identifier and says nothing about accepted formats (numeric vs. slug) or the project-scoping behavior the schema calls out.

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 ("Get a company") and the lookup key ("by id"), which cleanly separates it from siblings like list_companies, create_company, and patch_company. It stops short of naming the closest alternative, get_company_commercial_summary, which an agent might confuse with this single-record fetch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance. The definition never tells the agent to prefer this over dealdesk.get_company_commercial_summary when only summary data is needed, nor does it mention what to do when the company is unknown.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools