Skip to main content
Glama

finn_sorts

Read-only

Get the complete sort enum the FINN Torget API publishes for a search key, with the Norwegian label the search page prints. Pass a value to finn_search's sort param.

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": "finn_sorts"
  }
}

Input Schema

NameRequiredDescriptionDefault
search_keyNooptional SEARCH_ID_BAP_COMMON (default) or SEARCH_ID_BAP_ALL

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the description's added value is the disclosure that the enum is 'complete' and that labels are the Norwegian strings printed on the search page, which matters for display logic. It says nothing about behavior for an unknown or invalid search_key, nor about caching or rate limits, so with annotations carrying the safety profile a 3 is fair.

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 tight sentences, front-loaded with what is returned and followed immediately by the actionable tie-in to finn_search. Every clause carries information; nothing is redundant padding.

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?

This is a one-optional-parameter read-only lookup with an output schema and clear annotations, so the description does not need to explain return shape. It covers purpose, output meaning, and downstream usage; the only minor gap is guidance on the search_key variants.

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% and the single optional search_key parameter is already documented with its SEARCH_ID_BAP_COMMON/SEARCH_ID_BAP_ALL options. The description only echoes 'for a search key' without explaining how the choice changes the returned enum, so it adds no meaning beyond the schema and lands on the baseline.

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 uses a specific verb ('Get'), a specific resource ('complete sort enum the FINN Torget API publishes'), and narrows the scope with 'for a search key'. It also makes the relationship explicit by naming finn_search's sort param, so an agent can distinguish this metadata lookup from the search siblings without opening a schema.

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?

The sentence 'Pass a value to finn_search's sort param' tells the agent exactly what to do with the returned values, which is a concrete use case. It stops short of an explicit exclusion (e.g., when to prefer finn_enums or finn_search_keys for related metadata), so it is clear but not fully routing.

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.