Skip to main content
Glama

pnlcs-mcp

一个用于 PNLCS(开源计费面板)的 Model Context Protocol 服务器。将 Claude Code、Claude Desktop、Cursor、VS Code 或任何其他 MCP 客户端连接到你的 PNLCS 安装,并用自然语言与之交互:

"哪些发票已逾期?" — "显示这个客户的服务和 域名。" — "今天有被标记为欺诈的订单吗?" — "为 ada@example.com 开一个关于她域名续费的工单。"

零依赖。 服务器是一个小型 Node 进程,与你已有的 PNLCS 管理 API 通信。PNLCS 端无需安装任何东西。

  • npm:pnlcs-mcp

  • 要求:运行 AI 客户端的机器上需安装 Node 18+

  • 传输方式:stdio(由你的客户端启动——无需端口,无需托管)


1. 在 PNLCS 中创建 API 凭据

  1. 登录你的 PNLCS 安装的管理后台。

  2. 进入配置 → API 凭据。

  3. 点击创建,给它起一个类似 mcp 的名称,然后复制它显示的两个值:

    • 标识符 — 该凭据的用户名

    • 密钥 — 仅显示一次;请将其存放在安全的地方

服务器只需要这一对凭据,通过三个环境变量传入:

变量

值

PNLCS_URL

你安装的地址,例如 https://billing.example.com

PNLCS_IDENTIFIER

该凭据的标识符

PNLCS_SECRET

该凭据的密钥

PNLCS_ALLOW_WRITES

可选。设置为 1 以同时启用写入工具(见下文)


Related MCP server: WHMCS MCP Server

2. 连接你的客户端

Claude Code (CLI)

一条命令:

claude mcp add pnlcs \
  --env PNLCS_URL=https://billing.example.com \
  --env PNLCS_IDENTIFIER=your_identifier \
  --env PNLCS_SECRET=your_secret \
  -- npx -y pnlcs-mcp

如果你还需要写入工具,请添加 --env PNLCS_ALLOW_WRITES=1。使用 --scope project 可通过 .mcp.json 与团队共享该条目(将密钥放在你的 shell 环境中,而不是提交的文件中)。用 claude mcp list 检查;用 claude mcp remove pnlcs 移除。

Claude Desktop

编辑 claude_desktop_config.json(macOS:~/Library/Application Support/Claude/,Windows:%APPDATA%\Claude\):

{
  "mcpServers": {
    "pnlcs": {
      "command": "npx",
      "args": ["-y", "pnlcs-mcp"],
      "env": {
        "PNLCS_URL": "https://billing.example.com",
        "PNLCS_IDENTIFIER": "your_identifier",
        "PNLCS_SECRET": "your_secret"
      }
    }
  }
}

重启 Claude Desktop;工具会出现在锤子图标下。

Cursor

设置 → MCP → 添加新的全局 MCP 服务器,或在你的项目中创建 .cursor/mcp.json(JSON 格式与上面的 Claude Desktop 相同)。

VS Code (Copilot agent mode)

创建 .vscode/mcp.json:

{
  "servers": {
    "pnlcs": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "pnlcs-mcp"],
      "env": {
        "PNLCS_URL": "https://billing.example.com",
        "PNLCS_IDENTIFIER": "your_identifier",
        "PNLCS_SECRET": "your_secret"
      }
    }
  }
}

其他客户端(Windsurf、Cline、Zed 等)

任何能够启动 stdio 服务器的 MCP 客户端都使用相同的三部分:命令 npx、参数 ["-y", "pnlcs-mcp"] 以及上面的环境变量。从 git 检出中,node mcp/server.js 的工作方式完全相同。


3. 工具

读取工具 — 始终可用

工具

回答的内容

get_stats

客户、订单、发票和收入总计

get_health

安装本身的运行状况

list_clients

客户列表,可按名称/邮箱/公司搜索,支持分页

get_client

单个客户及其联系人,按 clientid 或 email 查询

list_client_services

单个客户的托管服务

list_client_domains

单个客户的域名

list_invoices

发票;按 status(draft、unpaid、paid、overdue、cancelled)或客户筛选

get_invoice

单个发票及其明细行

list_orders

订单;按 status(pending、active、fraud、cancelled)筛选

list_tickets

支持工单;按状态筛选

get_ticket

单个工单及其回复和备注

get_ticket_counts

各状态的工单总数

list_transactions

付款记录,最新的在前

list_products

产品目录

get_activity_log

最近的管理员和系统活动

写入工具 — 仅在设置 PNLCS_ALLOW_WRITES=1 时可用

工具

作用

add_client

创建客户;带 password2 时还会开通门户登录

create_invoice

向客户开具包含一个或多个明细行的发票

add_invoice_payment

记录一笔付款;金额足以覆盖时将该发票标记为已付

open_ticket

打开一个支持工单

add_ticket_reply

回复工单

suspend_service

在其服务器上暂停一项托管服务

unsuspend_service

解除暂停

未设置该标志时,写入工具不仅仅是隐藏——调用它们会在任何 HTTP 请求发生之前就被拒绝。一个为报表而配置的助手甚至看不到暂停按钮。只需不设置该标志,即可让报表环境保持只读。


4. 安全说明

  • 密钥只会在运行 AI 客户端的机器与你的 PNLCS 安装之间传输,走的是你的管理界面所使用的同一个 HTTPS API。它绝不会发送给模型提供商;模型看到的只是工具的结果。

  • 建议为 MCP 使用专用的 API 凭据,这样你可以单独撤销它。

  • PNLCS 对 API 凭据进行速率限制(每个凭据每分钟 300 次请求),因此失控的代理无法冲击你的安装。

  • 除非你确实希望助手对你的账目进行操作,否则请保持 PNLCS_ALLOW_WRITES 关闭;在批准会创建或更改内容的工具调用之前,请先阅读它提出的方案。

5. 故障排查

症状

原因

每个工具都返回 Set PNLCS_URL, PNLCS_IDENTIFIER and PNLCS_SECRET.

客户端配置中缺少这三个变量之一

每个工具都返回 Invalid API secret

标识符/密钥对错误,或该凭据已被停用

PNLCS did not answer within 30 seconds

从这台机器无法访问该安装——检查 URL 和任何防火墙

客户端中缺少工具

编辑配置后重启客户端;在其 MCP 日志中查看上面的 stderr 行

缺少写入工具

这是默认行为——设置 PNLCS_ALLOW_WRITES=1

6. 测试

npm test 运行离线测试套件:它会启动真实的服务器进程,以真实协议与之通信,并对照本地桩检查每个工具的 HTTP 形态——此外还测试双向的写入门控、来自旧协议版本的批量请求、版本协商、超时和关闭排空。

node test/live.mjs 针对真实安装运行每一个工具——请将其指向演示环境,切勿指向生产账目;它会为写入工具创建命名清晰的一次性数据,并为每个工具打印一行 PASS/FAIL。

开发

本包在 PNLCS 单仓库 的 mcp/ 目录下开发;本仓库是其独立分发镜像,始终与 npm 上发布的版本保持一致。

Available Tools

15 tools
get_activity_logC

Recent admin and system activity.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitnumNoEntries to return, default 25
limitstartNoOffset to start from

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Recent' implies a recency filter and 'activity' implies a log of events, but the description does not state whether this is read-only, what an activity entry contains, whether both admin and system events are returned, or how the recency window is determined. The behavior is only minimally conveyed.

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 description is very short and contains no wasted words, which is efficient. However, it is a single fragment with no structure or elaboration, and it is shorter than is needed to provide a full picture. It is concise but under-specified.

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?

For a simple paginated activity log with optional limit/offset parameters, the description is minimally viable: it names the resource and the schema covers the parameters. But with no annotations and no output schema, the description leaves gaps about the return shape, the meaning of 'recent', and the exact scope of 'admin and system'.

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%: both limitnum and limitstart include clear inline descriptions. The tool description adds no parameter information, so the baseline score of 3 applies — the schema alone adequately documents the parameters.

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 identifies a clear resource — recent admin and system activity — which distinguishes it from sibling tools focused on stats, health, clients, or invoices. It lacks an explicit verb like 'list' or 'get', but the noun phrase is unambiguous enough that an agent can infer the action from the tool name and context.

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 guidance on when to use this tool versus siblings such as get_stats, get_health, or list_tickets. No context or exclusions are provided, so the agent must rely on the name and the terse description alone to decide if this is the right tool.

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

get_clientA

One client with contacts, by clientid or email.

ParametersJSON Schema
NameRequiredDescriptionDefault
emailNoClient email, instead of the id
clientidNoClient id

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does say the result includes contacts and that lookup is by clientid or email, but it does not disclose behavior when neither or both identifiers are supplied, error handling, or return format details. For a read operation this is adequate but thin.

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

Conciseness5/5

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

The description is extremely short and every word earns its place; the key facts are front-loaded. There is no redundancy or filler.

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?

For a simple lookup tool, the description plus schema covers purpose, key fields, and that contacts are included. However, the schema marks both parameters optional and the description does not state that at least one is required, nor what happens on no match. This is a noticeable gap for an agent deciding how to call it.

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?

The input schema already describes both parameters with 100% coverage, so the baseline is 3. The description adds the 'or' relationship (clientid or email), which is mildly useful confirmation. It does not add formats, defaults, or precedence.

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 phrase 'One client with contacts' clearly identifies the operation as retrieving a single client and its contacts, and it names the lookup fields. It distinguishes from plural list tools even though it doesn't explicitly name them. The verb is implied by the tool name rather than stated in the description, so slightly short of a 5.

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?

No explicit when-to-use or when-not-to-use guidance is present. 'One client' implies the tool is for single-record lookups rather than list operations, but alternatives such as list_clients are not mentioned. Usage context is only implied.

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

get_healthB

Health of the PNLCS install itself.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the burden of behavioral disclosure, but it only states the domain (PNLCS health). It does not mention that this is a read-only check, what fields or statuses are returned, or any operational behavior.

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

Conciseness5/5

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

A single sentence with no filler or repetition. The essential scope is front-loaded and every word contributes.

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?

For a zero-parameter health endpoint, the description is minimally viable, but without an output schema it leaves the return format unspecified. The agent can invoke it correctly, yet has no knowledge of what the health response will contain.

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?

There are zero parameters and the schema already documents an empty input object, so the description does not need to explain parameters. Baseline 4 applies because there is nothing to clarify.

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 clearly identifies the resource (the PNLCS install) and the subject (its health), and 'itself' distinguishes it from the data-focused sibling tools. It lacks an explicit verb such as 'get' or 'retrieve', so it misses the top criterion.

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?

No guidance is given about when to choose this tool over siblings like get_stats, nor any conditions or exclusions. The phrase 'install itself' weakly implies a health-check use case, but that is not enough to guide tool selection.

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

get_invoiceC

One invoice with its line items.

ParametersJSON Schema
NameRequiredDescriptionDefault
invoiceidYesInvoice id

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states that a single invoice and its line items are returned, without mentioning failure behavior, not-found responses, authorization, or response structure. This is too sparse for a tool with zero annotation coverage.

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?

The description is extremely concise and front-loaded, with every word contributing. Its brevity is appropriate for a simple single-resource getter, though it may be too terse to serve as a complete standalone explanation.

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

Completeness2/5

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

With no annotations and no output schema, the description is the only source of behavioral context. It covers the basic return object but omits surrounding context such as how to handle unknown IDs, relationship to list_invoices, and any expected response details. For such a low-complexity tool this is borderline viable, but it remains under-specified.

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?

The schema has 100% description coverage for the only parameter, invoiceid, and the description does not need to add much. The text does not enrich parameter meaning beyond the schema, but the schema already documents the parameter sufficiently.

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 clearly identifies the resource (invoice) and scope ('one invoice') and adds the useful detail that line items are included. It lacks an explicit verb, but the tool name 'get_invoice' supplies the action. It distinguishes from list_invoices by emphasizing a single invoice, though not explicitly.

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 description gives no guidance on when to use this tool versus alternatives such as list_invoices. An agent must infer that get_invoice is for a single invoice by ID while list_invoices is for multiple invoices. No exclusions, preconditions, or alternative routing are mentioned.

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

get_statsB

Business overview: client, order, invoice and revenue totals.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral disclosure burden. It only says the tool provides totals, but does not explain whether these are counts, currency sums, point-in-time snapshots, or how the data is aggregated or scoped.

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

Conciseness5/5

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

The description is a single compact sentence that front-loads the main concept and uses the rest to name the four metric categories. There is no filler or repetition, making it highly efficient for a zero-parameter tool.

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?

With no output schema and no annotations, the description is the only source of information about what the tool returns. It names the relevant metric areas but leaves ambiguity about the exact meaning of 'totals' and the response structure, which is a notable gap.

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?

The tool has zero parameters and the input schema has no properties, so there are no parameter semantics for the description to enhance. The baseline of 4 applies because there is no parameter documentation burden.

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 clearly identifies the tool as returning a business overview with client, order, invoice, and revenue totals. It uses a distinct aggregate scope, which separates it from the more granular sibling tools like list_invoices or get_client, though it does not explicitly state a verb.

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 guidance on when to use this tool versus alternatives such as list_orders, get_ticket_counts, or list_invoices. The description implies it is for high-level summary numbers, but it never states exclusions or points users toward sibling tools for detailed data.

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

get_ticketB

One ticket with its replies and notes.

ParametersJSON Schema
NameRequiredDescriptionDefault
ticketidYesTicket id

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the disclosure burden. It reveals that the returned ticket includes replies and notes, which is useful, but it does not mention read-only behavior, error conditions, or whether replies and notes are always included.

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?

The description is very short and contains no filler. It front-loads the key scope ('One ticket') and adds value with 'replies and notes', though it is more of a noun phrase than a complete sentence.

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?

For a single-parameter, single-record retrieval tool, the description is minimally adequate: it identifies the resource and included content. However, since there is no output schema, the description could usefully mention missing-ticket behavior, response shape, or caveats about replies and notes.

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%, and the ticketid parameter is documented as 'Ticket id'. The description adds no parameter-level detail, but none is necessary because the schema already fully covers the only parameter.

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 the tool returns one ticket and explicitly includes replies and notes; the verb 'get' is carried by the tool name. The phrase 'one ticket' differentiates it from list_tickets and get_ticket_counts, though the description itself lacks an explicit action verb.

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 word 'One' implies a singular ticket lookup, which provides some usage context, but the description never explicitly says when to use this tool instead of list_tickets or get_ticket_counts. No alternatives or exclusions are named.

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

get_ticket_countsB

Ticket totals per status.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It reveals that the tool returns aggregate counts grouped by status, but it does not clarify whether the operation is read-only, what the response format is, whether filters exist, or whether the counts cover all tickets globally.

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?

The description is extremely short and contains no filler, making it easy to parse quickly. It is appropriately front-loaded, though the brevity borders on under-specification rather than structured completeness.

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

Completeness2/5

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

With no output schema and no annotations, the description leaves unresolved what the response looks like and how the counts are scoped. For a zero-parameter tool, complexity is low, but the lack of return-format details makes it incomplete for confident agent invocation.

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?

The tool has zero parameters, so the description does not need to explain parameter behavior. The empty input schema is self-explanatory, and the baseline for zero-parameter tools is 4.

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 clearly identifies the resource (tickets) and the aggregation (totals per status), which distinguishes it from list_tickets and get_ticket. It lacks an explicit verb such as 'get' or 'return,' so it falls just short of a perfect score.

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 guidance about when to use this tool versus alternatives like get_stats or list_tickets. An agent must infer the intended use case from the phrase alone, with no exclusions or sibling-tool comparisons.

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

list_client_domainsC

Domains that belong to one client.

ParametersJSON Schema
NameRequiredDescriptionDefault
clientidYesClient id

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations provided, the description carries full responsibility for disclosing behavior, but it only states what the returned data represents. It does not mention that the operation is read-only, whether the client must exist, pagination, ordering, or error behaviors. The description adds no transparency beyond the input schema.

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 description is very short and free of fluff, but it is an incomplete sentence fragment rather than a structured statement. It conveys a single piece of information but lacks the polish of a fuller, well-structured description. It is concise but not necessarily well-formed.

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

Completeness2/5

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

Given the absence of an output schema and annotations, the description must explain what the tool returns and how it behaves, but it only states that the result is a client's domains. There is no information on return format, pagination, or error scenarios. For a simple tool this is a minimal but incomplete definition; an agent might correctly call it but cannot anticipate the response shape or failure modes.

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?

The input schema fully describes the only parameter (clientid) with a baseline description, and schema coverage is 100%. The tool description adds no additional meaning to the parameter, so the baseline of 3 is appropriate. The agent can infer that clientid identifies the client whose domains are listed, but no format or edge-case details are given.

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

Purpose3/5

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

The description identifies a specific resource (domains) and scope (one client), indicating the tool's purpose from context. However, it is a noun phrase, not a verb-driven statement, so the operation (list) must be inferred from the tool name rather than the description. It does not explicitly differentiate itself from sibling tools, though the domain focus makes it distinct.

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?

No guidance is provided about when to use this tool versus alternatives such as list_client_services or get_client. There are no stated conditions, prerequisites, or exclusions. An agent must rely entirely on the tool name and schema to infer suitability.

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

list_clientsA

List clients, newest first. Optional text search and paging.

ParametersJSON Schema
NameRequiredDescriptionDefault
searchNoMatch against name, email or company
statusNoactive, inactive or closed
limitnumNoPage size, default 25
limitstartNoOffset to start from

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It reveals sort order ('newest first') and optional search/paging, but does not mention the status filter behavior, response shape, or pagination limits beyond the schema.

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

Conciseness5/5

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

Two short sentences deliver the core action, ordering, and optional capabilities with no wasted words. The most important information is front-loaded.

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 listing tool with fully documented parameters, the description is largely sufficient. It covers ordering, search, and paging, and the schema fills in parameter details. It does not describe the return format, but for a list operation the expected output is reasonably implied.

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 description adds only minimal mapping by referring to 'text search and paging,' but does not explain the status filter or the exact pagination parameter semantics beyond what the schema already provides.

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?

The description states the operation precisely: 'List clients, newest first.' It clearly identifies the resource (clients), the action (list), and an ordering trait that distinguishes it from singular retrieval tools like get_client.

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 usage for browsing or searching clients, but it does not explicitly state when to use this tool over alternatives like get_client. It gives context for optional search and paging but no exclusion criteria.

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

list_client_servicesC

Hosting services that belong to one client.

ParametersJSON Schema
NameRequiredDescriptionDefault
clientidYesClient id

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only restates that the result is hosting services for one client and does not mention return format, pagination, ordering, error behavior, permissions, or side effects.

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?

The description is very short, with no filler, and the key scoping information ('one client') is front-loaded. It is efficient, though it reads more like a noun-phrase definition than a complete tool instruction.

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?

For a one-parameter read-only list tool, this is minimally viable: an agent can infer the basic operation and the required parameter. However, it lacks behavioral details such as response shape or limits and does not differentiate from closely related sibling tools like list_client_domains.

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?

The input schema already documents clientid as an integer 'Client id' with 100% coverage. The description adds minimal semantic context by saying the services belong to one client, but it does not elaborate on parameter constraints, format, or edge cases.

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 identifies the resource ('hosting services') and the scope ('belong to one client'), which distinguishes it from sibling tools like list_client_domains or list_invoices. It is clear what entity is returned, though it lacks an explicit verb and relies on the tool name 'list' for the action.

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?

No guidance is provided on when to use this tool versus sibling list tools, no alternatives are named, and there are no exclusionary conditions. The only implicit cue is 'one client,' which maps to the required clientid parameter.

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

list_invoicesB

List invoices. Filter by status (draft, unpaid, paid, overdue, cancelled) or client.

ParametersJSON Schema
NameRequiredDescriptionDefault
statusNoInvoice status
useridNoOnly this client
limitnumNoPage size, default 25
limitstartNoOffset to start from

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not mention pagination behavior, default limits, ordering, response format, or whether filters are optional or mutually exclusive. 'List' implies a read operation, but key behavioral details are missing.

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

Conciseness5/5

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

The description is two short sentences with no filler. The core action is front-loaded, and the filter options are efficiently summarized.

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

Completeness2/5

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

The tool has 4 parameters, no output schema, and no annotations, so the description must compensate with more behavioral context. It omits important operational details such as pagination defaults, what response shape to expect, and whether filters can be combined. The description is adequate for identifying the tool but not for safe autonomous invocation without additional inference.

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 description coverage is 100%, so the baseline is 3. The description adds value by enumerating specific status values (draft, unpaid, paid, overdue, cancelled) and clarifying that 'userid' means client. This goes beyond the schema's generic descriptions.

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 specific verb and resource ('List invoices') and lists filter options, clearly distinguishing it from the sibling get_invoice. However, it does not explicitly name the sibling or note when the singular retrieval tool should be used instead.

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 description implies usage by stating the action and filters, but it provides no explicit guidance on when to use this tool versus alternatives like get_invoice. There is no mention of exclusions, prerequisites, or conditions that would route an agent to a different tool.

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

list_ordersA

List orders. Filter by status (pending, active, fraud, cancelled) or client.

ParametersJSON Schema
NameRequiredDescriptionDefault
statusNoOrder status
useridNoOnly this client
limitnumNoPage size, default 25
limitstartNoOffset to start from

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'List orders' implies read-only behavior, but the description does not explicitly state that this operation is non-destructive, nor does it mention pagination behavior or the default page size. The schema hints at these, but the description itself adds no behavioral context.

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

Conciseness5/5

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

Two short clauses deliver the core purpose and filters with zero filler. The key action is front-loaded and every word earns 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?

Given the tool's simplicity, the description is mostly complete for selecting and invoking it. The schema covers all parameters including pagination defaults, and the description covers allowed statuses. A minor gap is that it does not explicitly say what happens when no filters are supplied or that results are paginated, but this is reasonably inferable from the schema.

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 100%, so the baseline is 3. The description adds value by enumerating the allowed status values ('pending, active, fraud, cancelled') and mapping 'client' to the userid parameter, which goes beyond the schema's generic 'Order status' and 'Only this client' descriptions.

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?

The description states a specific verb and resource ('List orders') and adds the key filtering dimensions (status and client). The allowed statuses are even enumerated, making the tool's purpose unambiguous and distinguishing it from other list tools like list_invoices or list_clients.

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 description gives no explicit when-to-use guidance or alternatives. It simply states what the tool does, leaving the agent to infer that this is the tool for listing orders based on the name alone.

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

list_productsC

The product catalogue.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are provided and the description does not disclose any behavioral traits such as whether the operation is read-only, paginated, filtered, or what data it returns. The phrase 'The product catalogue' is entirely static and offers no insight into how the tool behaves when invoked.

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

Conciseness2/5

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

The description is four words long, but brevity here is under-specification rather than conciseness. It lacks a verb, and a proper tool description should at least say 'List products in the catalogue.' The structure does not front-load any actionable information.

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

Completeness2/5

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

For a zero-parameter tool with no output schema, the description is still inadequate. It does not explain what a product catalogue entry contains, whether the result is a list or a single item, or how this tool differs from the several other list_* tools. An agent would have to guess at the return value and behavior.

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?

The tool takes zero parameters, and the schema is empty, so there are no parameter semantics to document. Per the rubric, a zero-parameter tool gets a baseline of 4, and there is no gap for the description to compensate for.

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

Purpose2/5

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

The description 'The product catalogue' is a noun phrase that identifies the subject but does not state any verb or action. It essentially restates the resource implied by the tool name 'list_products' without clarifying that the tool returns a list of products. This is close to a tautology and does not distinguish it from other list tools.

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 guidance on when to use this tool versus the many sibling list tools such as list_clients, list_invoices, list_orders, or list_tickets. The description provides no context about typical use cases, exclusions, or alternatives, leaving the agent to infer everything from the name alone.

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

list_ticketsB

List support tickets. Filter by status.

ParametersJSON Schema
NameRequiredDescriptionDefault
statusNoTicket status, e.g. open, answered, closed
limitnumNoPage size, default 25
limitstartNoOffset to start from

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations present, the description carries the full burden of behavioral disclosure. It indicates a read-style list operation, but does not describe pagination behavior, response shape, ordering, or any side effects. It adds little beyond what the tool name already suggests.

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

Conciseness5/5

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

Two short, front-loaded sentences with no filler. Every phrase earns its place, making the description easy to consume quickly.

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?

For a simple list tool with fully documented parameters, the core call is understandable. However, with no output schema and no annotations, the description leaves the return shape implied and does not help an agent choose between list_tickets, get_ticket, and get_ticket_counts.

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 schema already documents status, limitnum, and limitstart. The description reinforces the intended use of 'status' for filtering, but provides no additional semantic detail for the pagination parameters.

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 uses a specific verb ('List') and resource ('support tickets'), and adds a useful qualifier ('Filter by status'). This clearly identifies the core operation, though it does not explicitly distinguish itself from ticket-related siblings like get_ticket or get_ticket_counts.

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?

'Filter by status' provides a concrete usage context and implies this is the tool for retrieving a filtered ticket list. However, it gives no explicit when-to-use or when-not-to-use guidance and does not name alternative tools, so selection logic is left mostly to inference.

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

list_transactionsB

Payment transactions, newest first.

ParametersJSON Schema
NameRequiredDescriptionDefault
clientidNoOnly this client
limitnumNoPage size, default 25
limitstartNoOffset to start from

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden. It does add one meaningful behavioral trait: results are ordered newest first. It does not explicitly state that this is a read-only list operation or describe pagination/response behavior beyond what the schema hints at, but the tool name and 'list' semantics imply safe retrieval.

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?

The description is very short, contains no filler, and front-loads the resource and ordering. It is efficient, though it is a fragment rather than a complete sentence, so it slightly sacrifices completeness for brevity.

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

Completeness2/5

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

There is no output schema and no annotations, so the description should provide richer context about what a payment transaction record contains and what the response looks like. It only states the resource and sort order, which is enough to guess tool selection but not enough to fully anticipate results or interpret the response.

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%, with clientid, limitnum, and limitstart each already documented. The description adds no parameter semantics, so it does not go beyond the baseline established by the schema.

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 clearly identifies the resource ('payment transactions') and a key differentiator ('newest first'). However, it lacks an explicit verb and does not contrast with neighboring listing tools like list_invoices or list_orders, so it stops short of full sibling differentiation.

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?

No guidance is given about when to choose this tool over alternatives such as list_invoices or list_orders. The only implied usage is that it returns payment transactions, with no exclusions, prerequisites, or context about whether a clientid is expected.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 15 tool updatesv1.0.4
    • First observedget_activity_log
    • First observedget_client
    • First observedget_health
    • First observedget_invoice
    • First observedget_stats
    • First observedget_ticket
    • First observedget_ticket_counts
    • First observedlist_client_domains
    • First observedlist_client_services
    • First observedlist_clients
    • First observedlist_invoices
    • First observedlist_orders
    • First observedlist_products
    • First observedlist_tickets
    • First observedlist_transactions

TDQS

B3.3/5.0

Scored across 15 tools

Disambiguation5/5

Each tool targets a distinct resource or summary view: health/stats/activity are clearly separate from client, invoice, order, ticket, transaction, and product listings. There is little overlap, and the get_/list_ split makes singular detail vs collection retrieval obvious.

Naming Consistency5/5

Tool names consistently use lowercase snake_case with get_ for single items/details and list_ for collections. The compound list_client_services and list_client_domains still follow the same predictable verb_noun pattern as the rest of the set.

Tool Count5/5

Fifteen tools is at the upper end of the ideal range but every one maps to a distinct and useful view of the PNLCS domain, from clients and invoices to tickets and activity. There is no obvious redundancy or filler.

Completeness4/5

As a read-only business overview server, the surface is broad and coherent: clients, services, domains, invoices, orders, tickets, transactions, products, stats, health, and activity are all exposed. Minor gaps such as no get_order, get_product, or get_transaction detail views, and no mutation endpoints, keep it from being fully complete.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to manage WHM hosting accounts and server administration tasks including account management, server stats, updates, SSL, backups, and email through a secure API.
    11
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to administrate WHMCS installations through the External API, providing ~50 tools for clients, billing, orders, services, domains, support, and aggregators with safety features and governance.
    29 npm
    3
    ISC
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to manage cPanel hosting accounts including DNS, email, databases, SSL, files, security, and more through natural language using cPanel's UAPI and API2.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Connect Claude, ChatGPT, and Cursor to your live WHMCS. 96 tools, 18 workflow prompts, 24 resources. Runs as a Docker container (or Linux binary) that talks to the WHMCS API from outside — nothing installed inside WHMCS. OAuth 2.0 for Claude.ai and ChatGPT web, bearer tokens for Cursor. dryRun on every write. 14-day trial, no card.
    13 npm
    2
    MIT