Skip to main content
Glama

peppol.sh

Get a company

get_company
Read-onlyIdempotent

Returns one company of the workspace: its Peppol ID, tax and registration IDs, address, and whether it is live on the Peppol network. Get the com_ ID from list_companies or get_account_overview.

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_idYesThe company ID, for example com_9fJ2kQ7bTx0Lm4Ne1Ry8.

Output Schema

NameRequiredDescriptionDefault
idYes
ibanYes
nameYes
emailYes
tax_idYes
addressYes
countryYes
is_liveYes
peppol_idYes
created_atYes
updated_atYes
invoice_contactYesThe Invoice contact: the default for the seller contact name, email and phone of a document that leaves them out.
company_registration_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and closed-world, so the safety profile needs no restating. The description adds useful scope context ('of the workspace') but says nothing about behavior on an unknown or foreign-workspace ID, which is the one behavioral question an agent would still have.

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?

Two sentences, zero filler, with the return payload front-loaded and the ID-sourcing hint placed after it where it is needed. Nothing repeats the title verbatim.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with full annotation coverage, a documented schema, and an output schema, this is nearly sufficient; the listed fields help an agent decide to call it. The only minor gap is the absence of any note about invalid or out-of-workspace IDs.

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 parameter already carries a pattern plus a concrete example, so the baseline is 3. The description earns an extra point by documenting the provenance of the ID — where to fetch a valid com_ value — which the schema itself does not say.

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?

States a specific verb and resource ('Returns one company of the workspace') and enumerates the payload (Peppol ID, tax/registration IDs, address, network liveness). This clearly separates 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 Guidelines4/5

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

Gives explicit prerequisite guidance by naming where to obtain the com_ ID (list_companies or get_account_overview). It stops short of an explicit when-not statement, but the single-company lookup framing makes the alternative course of action obvious.

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