Skip to main content
Glama

Get one company

get_company
Read-onlyIdempotent

One supplier, forwarder or customer: its roles, aliases (the other spellings seen on documents), country, ERP code and open_shipments, how many live shipments it is the supplier, forwarder or customer of. Use it for "tell me about supplier cmp_12" once you have an id from list_companies or from the supplier, forwarder or customer of a shipment. To list that company's shipments, pass its id as supplier, forwarder or customer to search_shipments.

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": {
      "company_id": "<company_id>"
    },
    "name": "get_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
company_idYesA company id such as "cmp_12", as returned by list_companies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds value beyond them by disclosing what the response carries (roles, alternate spellings, ERP code, a count of live shipments per role) and by making clear the id must be sourced beforehand. It stops short of describing error behavior for an unknown id.

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?

Contents are front-loaded and each sentence does work: what you get, when to call it, where the id comes from, and where to go for shipments. The opening sentence is dense and slightly clause-heavy, but nothing is redundant.

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?

With no output schema, the description carries the burden of explaining returns and does so field by field, including the open_shipments count semantics. For a one-parameter read tool with full annotation coverage, nothing an agent needs in order to call it correctly is missing.

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; the description earns an extra point by explaining provenance of the single company_id value — it comes from list_companies or from a shipment's supplier/forwarder/customer field, which is meaning the schema does not convey.

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-level operation (fetch one company) and enumerates the resource's identity and contents: roles, aliases, country, ERP code, and open_shipments. The phrase 'One supplier, forwarder or customer' immediately distinguishes it from the sibling list_companies, which returns many.

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

Usage Guidelines5/5

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

It gives an explicit trigger ('tell me about supplier cmp_12'), states the prerequisite (you need an id from list_companies or from a shipment's supplier/forwarder/customer field), and routes the adjacent need elsewhere: pass the id to search_shipments to list that company's shipments. That is when-to-use, when-not, and an alternative in three sentences.

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