Skip to main content
Glama

verify_worker_rtw_rules

Verify a worker's right-to-work rules for a jurisdiction. ($2.00)

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": {
      "worker_id": "<worker_id>"
    },
    "name": "verify_worker_rtw_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNo
paymentNoOptional payment: x402 base64 payment payload, or MPP voucher (mpp.v1...). Without it, the tool returns a payment_required challenge.
worker_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the $2.00 cost, which is genuinely useful, but says nothing about permissions needed, whether the call is a read-only lookup, what inputs the worker must have on file, or how payment failures behave beyond what the schema says.

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 clauses, front-loaded with the action and scoped by jurisdiction, with the price appended. No wasted wording, though the brevity contributes to the ambiguity noted elsewhere.

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?

A paid, unannotated verification tool with no output schema and under-described parameters has substantial gaps: what is returned, what a payment_required challenge flow looks like in practice, and how country interacts with worker_id are all left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%: payment is documented in the schema, but country and worker_id are bare strings. The description only gestures at jurisdiction filtering and says nothing about expected worker_id format, country codes, or whether country defaults from the worker record.

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 verb 'Verify' and the resource 'right-to-work rules for a jurisdiction' are stated, but the phrasing is ambiguous: it is unclear whether the tool returns jurisdiction rules or checks a specific worker against them. It hints at distinction from siblings like check_cabotage_rules or verify_driver_compliance but never clarifies the difference.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as check_cabotage_rules or verify_driver_compliance despite a crowded sibling set of compliance tools. The agent must infer selection 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources