Skip to main content
Glama

Get commerce status

get_commerce_status
Read-only

Purchase and subscription state for the learner, including which products would unlock the requested chapter and the matching shop links.

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

Input Schema

NameRequiredDescriptionDefault
book_numberNoBook within the level. Defaults to the user's current book.
ui_languageNoDefault 'en'.
language_pairNoe.g. 'en_de'. Defaults to the user's current pair.
chapter_numberNo
language_levelNoCEFR level: A1, A2, B1, B2, C1, C2. Defaults to the user's current level.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real value by disclosing that the response includes computed unlock recommendations and shop links rather than raw subscription flags. The only mild tension is that 'shop links' suggests outbound URLs against openWorldHint=false, but returning link data is not the same as interacting with an external entity.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the primary payload (purchase/subscription state) leads and the secondary outputs follow. It is dense but every clause carries content.

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?

With no output schema, the description does the necessary work of sketching the return shape (state, unlocking products, shop links), and the read-only annotation covers the safety profile. It stops short of explaining what happens when no chapter is requested or whether any authentication is needed.

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 coverage is 80% and the schema already documents defaults for book_number, ui_language, language_pair, and language_level. The description only implies that chapter_number scopes the unlock lookup, adding little beyond the schema, so the baseline 3 for high coverage 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?

The description names the resource precisely ('purchase and subscription state for the learner') and adds the two derived outputs (unlocking products, shop links), which clearly separates it from siblings like get_chapter_progress or list_chapters. It is a clear statement of what is returned, though the verb is only implicit in the name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no prerequisites, and no mention of alternatives — the phrase 'the requested chapter' only hints that chapter_number drives the unlock calculation. An agent must infer the calling context entirely from the tool name and siblings.

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