Skip to main content
Glama

List PrestaShop Tax Rules

ps_list_tax_rules
Read-onlyIdempotent

Lists tax rules configured in a PrestaShop store, optionally filtered by tax rule group, to inspect rates, countries, states, and zip ranges.

Instructions

List tax rules configured in the shop, optionally filtered by tax rule group.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_tax_rules_group: Filter by tax rule group ID

Returns: Array of tax rules with id, group_id, country_id, state_id, zip_range, and rate.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
offsetNoPagination offset
id_tax_rules_groupNoFilter by tax rule group ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by enumerating the returned fields (id, group_id, country_id, state_id, zip_range, rate), which matters because no output schema exists. It could have gone further on the 500-item cap and on whether offset pagination has a known total.

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?

The first sentence is front-loaded and does the real work. The Args and Returns blocks are readable but the Args section duplicates the input schema's own property descriptions and defaults, so part of the text does not earn its place.

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 simple, read-only, three-parameter list operation with full annotation coverage, the definition supplies everything essential: scope, optional filter, defaults, and the shape of each returned record in lieu of an output schema. Missing only minor operational details such as the maximum page size and ordering of results.

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%, so the baseline is 3. The Args block largely restates what the schema already encodes — limit's default of 50, offset's default of 0, and id_tax_rules_group as a group-ID filter — without adding format, interaction, or edge-case meaning (the schema's maximum of 500 is not mentioned in the description).

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?

States a specific verb and resource: 'List tax rules configured in the shop', with the added scope note that filtering by tax rule group is optional. The resource is unambiguous against the ps_list_* siblings (carts, carriers, countries, etc.), though the description itself does not name or contrast any alternative.

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?

Usage is only implied: the tool lists all tax rules unless a group filter is supplied. There is no explicit when-to-use guidance, no statement about when a different tool (e.g. a tax-rule create/update tool or a group listing) would be preferable, and no prerequisites or caveats.

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

Deploy Server

Other Tools