Skip to main content
Glama

counterfactual

Read-onlyIdempotent

Paid (x402): deterministic counterfactual analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subjectYes
counterfactualNo

TDQS

D1.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds 'deterministic' (consistent results) and 'Paid (x402)' (cost implication), which are behavioral traits beyond the annotations. No contradiction with annotations is present.

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 a single short phrase, which is concise, but it is under-specified for a tool with two parameters and nested objects. It is front-loaded but lacks necessary structure or elaboration, making it insufficiently informative for its complexity.

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

Completeness1/5

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

For a tool with no output schema and a nested input schema, the description does not explain return values, prerequisites, or edge cases. It fails to convey what 'counterfactual analysis' returns or under what conditions it should be invoked, leaving the agent without critical context.

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

Parameters1/5

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

Schema description coverage is 0%, and the description provides no explanation of the 'subject' or 'counterfactual' parameters. The name 'counterfactual' and the schema field align, but the description doesn't clarify what the counterfactual object should contain or how the CNPJ is used, leaving the agent without meaningful parameter guidance.

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 'deterministic counterfactual analysis' provides a domain-specific noun phrase but lacks a clear verb+resource structure. It doesn't explicitly state what action is performed on the subject or what output is produced, distinguishing it from siblings only by its generic 'analysis' label. It is not a tautology but is vague about the tool's core function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance or alternatives are mentioned. The phrase 'Paid (x402)' hints at a cost condition, but it doesn't explain scenarios where this tool should be preferred over sibling tools like 'decide' or 'preflight'. There is no explicit guidance on excluding other tools.

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.

TDQS

C2.4/5.0
Disambiguation2/5

Multiple tools appear to address the same action with only country or payment-model differences, such as company_check/run_uk_company_check, approve_supplier/approve_uk_supplier, authorize_payment/run_uk_payment_authorization, and screen_restricted_party/screen_restricted_business_party. Even with descriptions, an agent will struggle to pick the intended tool reliably.

Naming Consistency2/5

Naming mixes bare global verbs (company_check, approve_supplier, authorize_payment) with UK-prefixed variants (run_uk_company_check, approve_uk_supplier, authorize_uk_business_payment), plus free-form names like counterfactual, preflight, quote, and capabilities. There is no single consistent verb_noun or country-modifier convention across the set.

Tool Count2/5

46 tools is far beyond the typical well-scoped MCP surface, and the set carries heavy duplication through global/UK/free/paid variants. While the domain may justify multiple country-specific operations, the tool count itself will overwhelm agents and make selection harder.

Completeness4/5

The server covers the main compliance lifecycle well: discovery (capabilities, preflight, quote, resolve_agent_intent), verification, supplier approval, payment authorization, invoice matching, passport issuance/refresh, and verification receipts. Minor gaps exist around explicit cancellation/revocation or list/search operations, but core workflows have no major dead ends.

Resources