Skip to main content
Glama

wgr_list_methods

Read-only

Lists all available webshop API methods and optionally filters them by class such as Article, Order, or Category, helping agents find the right endpoint before making calls.

Instructions

All API methods (33), optionally for one class (Article, Category, Customer, Front, NewsletterRecipient, Order, OrderStatus, PriceList, ProductImage, ShippingMethod, Stock).

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

Input Schema

NameRequiredDescriptionDefault
class_nameNo

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=false, so safety is covered. The description adds the meaningful fact of a fixed catalog size (33 methods) and the exact set of valid class buckets, but says nothing about result shape or ordering; an output schema exists, so that is acceptable.

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?

One compact, front-loaded sentence with no filler. It is a verbless fragment and the parenthetical value list is dense, but every element carries information an agent needs.

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?

For a one-optional-parameter discovery tool with an output schema, the description covers what the tool enumerates, the total count, and all valid filter values. The main omission is the relationship to sibling lookup tools, which is a minor gap rather than a blocking one.

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 0% and the single parameter is bare, but the description compensates by enumerating all 11 valid class_name values, which is exactly the enum knowledge missing from the schema. The 'optionally' wording also implies that omitting it returns the full set.

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 states a concrete resource ('All API methods (33)') with a clear scope modifier ('optionally for one class'), so an agent knows exactly what it enumerates. It does not explicitly contrast itself with siblings like wgr_describe_method, but the listing purpose is unambiguous.

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?

The only usage signal is that the class filter is optional, which is really a parameter hint. There is no statement of when to reach for this versus wgr_describe_method, wgr_find_field, or wgr_overview, and no exclusions or prerequisites.

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