Skip to main content
Glama

Tommos

Link a person to a company

link_a_person_to_a_company
Idempotent

Link a person to a company by hand, as the signed-in person, as «Link to a company» on the person's page does: name the company by its id (from list_companies), or by a domain (as example.com: the company of that domain, made when there is none). A link made by hand stays when the person's address changes. A deal of the person with no company takes this one. The link is a line of the company's history and of the person's, and of the audit trail.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "link_a_person_to_a_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoInstead of company_id: the company's domain, as example.com
company_idNoThe company's id (from list_companies)
contact_idYesThe person's contact id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so the safety profile is covered; the description still adds real value by disclosing side effects: a missing company is created from the domain, an unassigned deal of the person is attached to this company, and the link is recorded in company/person history and the audit trail. What it does not cover is error behavior (e.g. unknown id, both params given) or what the response contains.

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?

Everything sits in one dense multi-clause sentence chain, and the closing clause about 'the link is a line of the company's history and of the person's, and of the audit trail' is padded phrasing. The key operating constraint (id or domain) is buried mid-sentence rather than front-loaded, though little of the content is truly irrelevant.

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?

With only three flat parameters, 100% schema coverage and annotations covering mutability and idempotency, most of the picture is present, and the important side effect (company creation from a domain) is called out. The definition remains incomplete on the practical decision rules: what to do when company_id and domain are both omitted or both given, and what the tool returns on success.

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%, so the baseline is 3, but the description goes further by explaining the origin of company_id ('from list_companies') and the full consequence of domain ('the company of that domain, made when there is none'), which the schema only hints at. The optional-versus-mutually-exclusive relationship between the two is still left implicit.

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 definition states a concrete verb and resource ('Link a person to a company') and anchors it to the familiar UI action 'Link to a company' on the person's page. It does not name the complementary tool (remove_the_link_of_a_person) or state what makes this different from any automatic linking path, but the operation itself 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 Guidelines3/5

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

It signals the manual/opt-in nature of the link ('by hand, as the signed-in person') and why one would prefer it ('A link made by hand stays when the person's address changes'), which is genuine when-to-use context. However, it never says when to use the id form versus the domain form, nor what happens if neither or both are supplied, so the agent must infer the selection rule.

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.