Skip to main content
Glama

The shop’s own features and what switching one would do («Innstillinger → Funksjoner»)

shop_features
Read-onlyIdempotent

«Innstillinger → Funksjoner»: the features the shop switches on and off itself — «Lager» (stock, with «Plukk og send», where every order is prepared and sent), its parts «Plasser og plukk» (spots, «Flytt», picking by spot, waybills and an invoice per delivery) and «Batcher og datoer» (batch and date fields), «Kaffe på hylla» (a roastery’s packed coffee on the shelf) and «Kasse» (the till) — each with whether it is on, who may switch it (the owner and «Butikkdrift»; «Kasse» the owner alone) and whether this person may, and «Lager»’s facts (stock on the shelf, added places keeping stock). With feature: what switching it would do, as the page shows it before the press — the preview’s own lines and numbers («12 varer som er utsolgt nå, kan kjøpes igjen»), or why it is refused now and the next step. A feature Humryk does not offer the shop is not listed. Read-only: no tool switches a feature; the person presses the switch on its row (admin_path, which show_page opens) after the same preview. Names of who switched a row and the shop’s own words in a refusal come as { untrusted_text }.

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

Input Schema

NameRequiredDescriptionDefault
featureNoOne feature, for what switching it would do (its preview).
directionNoWhich way to preview; default the other way from now.
merchant_idNoShop id; optional with one shop (list_shops).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the bar is lower, and the description still adds real value: the exact shape of a preview («12 varer som er utsolgt nå, kan kjøpes igjen»), that refusals come with a next step, that unoffered features are omitted, and that names/refusal wording arrive as `{ untrusted_text }`. Minor gap: it doesn't describe ordering or what the no-`feature` response looks like structurally beyond the field list.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content is relevant but delivered as one dense run-on sentence with nested guillemets and em-dash clauses, which makes it slow to scan. The key routing fact (read-only, no switching) sits late in the block rather than front-loaded. Little is wasted, but the structure works against the reader.

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 carries the return-value burden and does so: per-feature state, who may switch it, whether this caller may, «Lager»'s stock facts, preview lines/numbers, and refusal plus next step. An agent has enough to call it correctly and interpret results.

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%, so 3 is the baseline, and the description earns above that by mapping the human feature names to the enum values (e.g. «Lager» → stock, «Kaffe på hylla» → coffee_shelf, «Kasse» → pos), which helps an agent pick the right `feature`. The `direction` default and optional `merchant_id` are restated rather than expanded, so it isn't a 5.

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?

The description names the specific resource (the shop's own switchable features — «Lager», «Plasser og plukk», «Batcher og datoer», «Kaffe på hylla», «Kasse») and the specific verb for each mode: listing each feature's state and who may switch it, or with `feature` previewing what switching it would do. The scope is unambiguous, but nothing in the text distinguishes it from plausible siblings such as shop_settings or enable_changes, so it stops short of a 5.

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?

It gives clear context for each mode: omit `feature` to get the feature list with permissions, supply `feature` to get the preview or refusal reason. It also states the exclusion explicitly — no tool switches a feature; the person presses the switch on the row via `admin_path`/show_page — which routes the agent away from expecting mutation. It does not compare itself to any named sibling tool, which keeps it at a 4.

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