Skip to main content
Glama

wgr_read

Read-only

Executes a single read-only *.get call against the configured shop, letting you filter large result sets by categoryId, articleNumber, or updatedFrom.

Instructions

Run one *.get call against the configured shop (WGR_API_URL, WGR_API_USER, WGR_API_PASSWORD). Large reads: filter with categoryId, articleNumber or updatedFrom.

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": {
      "method": "<method>"
    },
    "name": "wgr_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYes
paramsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing that the call is made against a pre-configured shop via named environment variables, i.e. credentials must be set out-of-band, and by implying only read-style methods are permitted. It says nothing about error behavior, throttling, or result size limits.

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?

Two short sentences, front-loaded with the action, then the practical filtering tip. No padding, though the second sentence is clipped to the point of ambiguity about whether those filters are always applicable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. However, this is a generic gateway that executes arbitrary API methods with an untyped 'params' object, and the description supplies no pointer to the sibling discovery tools or a concrete method-name example — the biggest missing piece for correct invocation.

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 0%, so the description must carry parameter meaning. It partially does: 'method' is implied to be a fully-qualified '*.get' name, and the filter keys (categoryId, articleNumber, updatedFrom) are shown to belong in the free-form 'params' object. It never states that params is method-specific or gives the method-name syntax, so a substantive gap remains.

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 gives a concrete verb and resource: it executes exactly one '*.get' call against a shop configured via WGR_API_URL/WGR_API_USER/WGR_API_PASSWORD. That is clearly distinguishable from a write tool, though it never explicitly contrasts itself with wgr_describe_method or wgr_list_methods, which an agent could confuse with 'run a method'.

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

Usage Guidelines3/5

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

It gives one useful usage hint — for large reads, narrow with categoryId, articleNumber or updatedFrom — which is genuine when-to guidance. It omits the more important routing question: how an agent should discover valid method names and their parameters before calling this (presumably via wgr_list_methods / wgr_describe_method), and whether non-get methods are rejected.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.