Skip to main content
Glama

SmartBill MCP by usefulapi

List warehouses

smartbill_list_warehouses
Read-only

List warehouses (name, type en gros / en detail, keeper, address). Needs the API V3 token. Cursor paged: pass the reply's next_args as the next call's arguments. GET /v3/companies/{cif}/warehouses.

Input Schema

NameRequiredDescriptionDefault
nameNoPart of the warehouse name.
afterNoCursor: continue after this id (use next_args from the previous reply). Not together with before.
limitNoResults per page, 1-100 (default 20).
beforeNoCursor: go back before this id (use previous_args). Not together with after.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real context beyond that: the API V3 token requirement, the cursor-paging contract ('pass the reply's next_args as the next call's arguments'), and the underlying endpoint. It stops short of stating any rate limits or filtering constraints.

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?

Front-loads the purpose, then auth, then paging, then endpoint — a sensible order with little waste. The trailing raw endpoint string is marginally redundant given the tool name but does help an agent reason about the call.

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 compensates by naming the returned fields, and it covers auth and pagination. It is nearly complete for a simple read-only list tool, though it doesn't describe default paging size or empty-result behavior.

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 name/after/before/limit are already fully documented in the schema, and the description largely restates the cursor behavior already present in 'after'. Baseline 3 is appropriate since the schema carries the parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('List warehouses') and enumerates the returned fields (name, type en gros / en detail, keeper, address), which no sibling covers. An agent can distinguish it from smartbill_list_clients/list_products/list_series at a glance.

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?

The description implies the use case (retrieve warehouses) and gives the paging workflow, but never states when to call it versus an alternative or any precondition beyond the token requirement. Usage is inferable but not explicit.

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.