Skip to main content
Glama

b2b_withholding_risk

Compute cross-border B2B software/consulting invoice gross-up, statutory vs DTAA treaty withholding tax rates (Form W-8BEN/W-8BEN-E), and permanent establishment (183-day) tax audit triggers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysInCountryNoCumulative physical presence days in client country over 12 months
treatyRatePercentNoBilateral tax treaty reduced WHT rate % (e.g. 15% or 0%)
invoiceNetRequiredNoNet spendable cash payout required by exporter ($)
statutoryRatePercentNoSource country statutory withholding tax % (default 30%)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does convey that this is a compute-only analysis rather than a mutating action, and it names the 183-day PE trigger. However, it does not disclose assumptions, whether the output is a single number or a report, or how the gross-up is rounded/applied.

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?

One dense, well-structured sentence with no filler. The core action is front-loaded, and treaty/PE details follow naturally without wordiness.

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?

The computation scope and parameter roles are well covered, especially with fully described schema fields. However, there is no output schema and the description does not state what the tool returns, nor does it provide explicit routing guidance versus sibling tax/finance tools. Adequate but with clear gaps.

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, but the description adds conceptual meaning: invoiceNetRequired relates to gross-up, statutoryRatePercent and treatyRatePercent map to the statutory vs treaty comparison, and daysInCountry connects to the 183-day PE trigger. It frames the parameters without repeating their schema text.

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 ('Compute') and a distinct resource: cross-border B2B software/consulting invoice gross-up, statutory vs DTAA treaty WHT rates, W-8BEN forms, and 183-day PE triggers. This clearly separates it from sibling tools like fx_invoicing or indian_income_tax.

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 tool is for cross-border B2B withholding/gross-up analysis, but it never explicitly states when to prefer it over related siblings or when not to use it. Context is present, but exclusions and alternative routing are missing.

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

B3.4/5.0
Disambiguation4/5

Most tools are clearly separated by domain and target calculation, such as rocket_deltav versus projectile_motion or black_scholes versus compound_wealth. A few pairs like home_loan_emi/mortgage_piti and contractor_parity/billable_floor could be initially confused, but the descriptions resolve the intended use cases.

Naming Consistency4/5

All tool names are lowercase snake_case and generally follow a topic-plus-suffix pattern, which is readable and consistent. The pattern is not a strict verb_noun convention, and acronym-heavy names like feie_nomad_tracker, scorp_optimizer, and casio_991_solve introduce stylistic variance.

Tool Count3/5

At exactly 25 tools, this is at the heavy but still usable end of the scale. The broad spread across tax, finance, engineering, physics, math, and cloud cost makes the server feel more like several domain calculators merged into one service.

Completeness4/5

Each tool is a self-contained calculation with no missing follow-up operations, so there are no obvious dead ends for the workflows it targets. The main gaps are minor adjacent calculators—such as NPV, depreciation, or broader statistical inference—that agents could work around or obtain elsewhere.

Resources