Skip to main content
Glama

List companies

list_companies
Read-onlyIdempotent

Lists the companies (called "entities" in EnKonto) the signed-in user has access to, with their id, country, tax numbers, the role of the user and whether KSeF is connected. The id identifies the company in the other tools.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage of the list, starting at 1; the answer tells in next_page whether a next page exists.
queryNoText to search for in the name, tax number, VAT ID or registration number of the companies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely new behavioral context: this is an access-scoped listing (not a global catalog) and it returns the user's role plus KSeF connection status. It does not mention pagination mechanics or result-set size, which are left to the schema.

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 dense sentences with zero filler: the first establishes purpose, scope and return fields; the second gives the downstream chaining hint. Information is front-loaded and nothing is repeated from the schema or annotations.

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 compensates by enumerating the returned fields (id, country, tax numbers, user role, KSeF status) and explaining the id's role in other tools. Combined with the fully documented input schema and read-only annotations, an agent has everything needed to call this correctly.

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

Parameters3/5

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

Schema description coverage is 100%, with both 'page' and 'query' fully documented in the schema including bounds and next_page semantics. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb+resource ('Lists the companies') plus a clear scope ('the signed-in user has access to') and clarifies the EnKonto terminology ('entities'). It also enumerates the returned fields, so the agent knows exactly what it gets. It stops short of naming siblings like get_company or create_company to route the agent, so it is clear but not explicitly differentiated.

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?

Usage is implied by the access-scoping ('the signed-in user has access to') and by the chaining hint that the returned id is used in the other tools, which helps an agent know to call this first. However, there is no explicit when-to-use/when-not guidance versus get_company or list_customers, and no mention of what to do when the list is empty or paginated.

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