Skip to main content
Glama

Sök bolag i registret

search_company
Read-onlyIdempotent

Sök ett svenskt bolag i Bolagsverkets register på namn eller organisationsnummer (10 siffror ger exakt träff). Använd för att fylla i kundens namn, org.nr och adress innan create_customer_invoice (eller leverantörens vid create_supplier_invoice): varje träff har invoice_fields = {customer_name, customer_orgnr, customer_address} som kan skickas rakt in. Scope view. Argument: query; valfritt limit (1-10, default 5).

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": {
      "query": "<query>"
    },
    "name": "search_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnly, idempotent, openWorld), and the description adds real value beyond them: the 10-digit org-number exact-match behaviour, the 'Scope view' permission note, and the shape of the returned invoice_fields object that has no output schema to document it. Minor gaps are rate limits and what happens on zero hits.

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?

A single dense paragraph that front-loads the purpose, then the workflow, then the return mapping, then the arguments. No filler sentences, and every clause contributes information an agent needs.

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 two-parameter read tool with no output schema, the description supplies the essential missing pieces: match semantics, valid limit range, and the invoice_fields return contract. It stops short of describing no-match behaviour or result ordering.

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 0%, so the description must carry the load and largely does: query accepts a name or an organisation number, with 10 digits yielding an exact hit; limit is optional with range 1-10 and default 5, details absent from the schema. Only the query string format (spacing, casing, partial-name behaviour) is left unspecified.

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 and resource (search a Swedish company in Bolagsverket's register) plus the matching keys (name or organisation number). It does not explicitly distinguish itself from siblings such as list_companies or get_company, so an agent must infer that this is the external-registry lookup rather than the internal company list.

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 a concrete downstream workflow: use it to obtain customer name, org number and address before calling create_customer_invoice, or supplier data before create_supplier_invoice. No explicit when-not conditions or comparison against list_companies/get_company, which keeps it short of a 5.

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.