Skip to main content
Glama

calculate_tax_credit

Calculate an auditable tax-credit scenario. credit is 45Q, 45V, 45Y, 48E, or 45X. facts must contain the explicit credit-specific eligibility facts; missing facts return indeterminate. This is not tax or filing advice. Price: $2.00 per call after 10 free calls/day. Pay at /x402/taxcredit-engine/calculate_tax_credit with Base USDC, cash-fund payment_ref through escrow_checkout + confirm_escrow_funding, or use /seats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
factsYes
creditYes
request_idNo
payment_refNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries full burden. It discloses that missing facts return indeterminate and provides a disclaimer that it's not tax or filing advice. It also mentions pricing and payment flow. However, it does not describe side effects, authorization needs, or rate limits beyond cost. Behavioral traits beyond what is stated 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.

Conciseness3/5

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

The description is somewhat lengthy due to pricing and payment details, but front-loads the purpose. It could be more concise by separating operational info (pricing) from functional description. Each sentence adds value, but the structure mixes core function with payment instructions.

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?

Given an output schema exists, the description does not need to explain return values. It covers credit types, fact requirements, and pricing. However, it lacks details on what 'auditable' means and the expected structure of the output. The description is adequate but not thorough for a tool with no annotations.

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 0%, so description must add meaning. It specifies that 'credit' can be '45Q, 45V, 45Y, 48E, or 45X' and that 'facts must contain the explicit credit-specific eligibility facts'. It also hints at 'payment_ref' in pricing. This adds significant value beyond the bare schema, though the structure of 'facts' remains vague.

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 clearly states the tool's purpose: 'Calculate an auditable tax-credit scenario.' It lists the specific credit types (45Q, 45V, 45Y, 48E, 45X), which distinguishes it from sibling tools like verify_tax_credit_result that handle verification. The verb 'Calculate' and resource 'tax-credit scenario' are precise.

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 notes that 'missing facts return indeterminate' and provides pricing and payment instructions, but lacks explicit guidance on when to use this tool vs siblings like get_rule_pack or verify_tax_credit_result. No 'when not to use' or alternative recommendations are given.

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

A3.7/5.0
Disambiguation5/5

Each tool has a distinct purpose: calculation, verification, listing credits, retrieving rules, and agent description. No overlapping functionality.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (e.g., calculate_tax_credit, list_rule_packs), making the set predictable.

Tool Count5/5

With 5 tools covering core workflows (calculation, verification, rule access, agent info), the count is well-scoped and each tool earns its place.

Completeness5/5

The tool surface covers the essential operations for a tax credit engine: calculating, verifying results, and exploring available credits and rules. No obvious gaps.