Title99/100
Search Companies
The title clearly communicates the tool’s action and subject. Keep it concise.
Description89/100
Search Norwegian companies — complete, enriched profiles incl. roles, annual reports, shareholdings, and web address when found with the authenticated user's NorData API key. Read-only. Supports full-text search (q), filters, sorting, geosearch on coordinates (radius, bounding box, polygon) and field selection (attributesToRetrieve). For the exact filter, sort and geosearch syntax, call get_search_syntax_guide first. Nearby-location questions are answered with a geosearch filter around the location's coordinates. attributesToRetrieve keeps large result sets focused. Industry and municipality are matched by code: look up industry codes with get_norwegian_industry_codes and municipality numbers with get_norwegian_municipalities, then filter on hovedenhet.meta.prefixes.naeringskode1.kode and hovedenhet.forretningsadresse.kommunenummer. q matches company names and text, so a request such as 'IT konsulent Drammen' (IT consultants located in Drammen) is expressed as an industry and municipality filter.
The description explains the capability, when to use it, and what to expect.
Inputs82/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
q
Full-text query value mapped to Meilisearch q. q matches company names and text. Industry and municipality constraints belong in filter, using codes from get_norwegian_industry_codes and get_norwegian_municipalities; for example, 'IT konsulent Drammen' means IT consultants located in Drammen and maps to a filter, not a q value.
Clear enough to supply this argument.
limit
Maximum number of hits to return.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
offset
Number of hits to skip for pagination.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
filter
Filter expression mapped to Meilisearch filter. Syntax: provide one string in the form `attribute OPERATOR value`; combine clauses with AND, OR, NOT, and parentheses. Supported operators include =, !=, >, >=, <, <=, TO, EXISTS, IS EMPTY, IS NULL, IN, CONTAINS, and STARTS WITH; CONTAINS and STARTS WITH depend on upstream experimental support. Quote string values with whitespace or operator-like tokens, and only reference attributes listed in the endpoint's filterableAttributes. Geo filters are supported on geosearch-capable endpoints with _geoRadius(lat, lng, meters), _geoBoundingBox([northLat, westLng], [southLat, eastLng]), and _geoPolygon([lat,lng], ...). For the complete search parameter guide, call get_search_syntax_guide. For company sector/industry plus place requests, use filter-only constraints such as hovedenhet.meta.prefixes.naeringskode1.kode = '62.2' AND hovedenhet.forretningsadresse.kommunenummer = '3301' for IT consultants in Drammen.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
sort
Sort expression mapped to Meilisearch sort.
Explain the meaning of this value, not just its name.
attributesToRetrieve
Comma-separated attributes to include in response (defaults to all).
Clear enough to supply this argument.
attributesToSearchOn
Comma-separated searchable attributes to scope search (defaults to all).
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema71/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"status",
"request",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"returnedHits",
"offset",
"limit",
"totalHits",
"hits"
],
"properties": {
"hits": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Search hits. Hit fields vary by endpoint and attributesToRetrieve."
},
"limit": {
"type": "integer",
"description": "Maximum number of hits requested for this page."
},
"offset": {
"type": "integer",
"description": "Number of hits skipped before this response page."
},
"totalHits": {
"type": "integer",
"description": "Total number of upstream matches for the query."
},
"returnedHits": {
"type": "integer",
"description": "Number of hits returned in this response page."
}
},
"description": "The upstream NorData search response body. Hit fields vary by endpoint and attributesToRetrieve.",
"additionalProperties": true
},
"status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "HTTP status returned by the upstream NorData API."
},
"request": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "The upstream NorData request descriptor, or null when no upstream request was made."
}
}
}