Skip to main content
Glama

Simple Jacks California Software Tax

lookup_cdtfa_rate

Read-onlyIdempotent

Look up a California street address through CDTFA for its combined sales and use tax rate and jurisdiction. Supply street, city and ZIP.

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": {
      "address": "<address>",
      "city": "<city>",
      "zip": "<zip>"
    },
    "name": "lookup_cdtfa_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipYes
cityYes
notesNo
detailNosummary
addressYes
contentPageNo
document_textNo

Output Schema

NameRequiredDescriptionDefault
resultYes
statusYes
summaryYes
citationsYes
law_as_ofYes
disclaimerYes
assumptionsYes
outcome_kindYes
missing_factsYes
detail_availableYes
rule_set_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds that results come from CDTFA (an external authority, implying a live network dependency) and that the output is a combined rate plus jurisdiction. It says nothing about behavior when an address is unmatched, about rate limiting, or about how detail/contentPage alter the response.

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 sentences, front-loaded with the purpose and with no filler. The second sentence largely duplicates the schema's required fields, so it earns only partial credit.

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 existing output schema covers return values, and annotations cover the safety profile, so those burdens are lifted. However, a 7-parameter tool with a nested object and an enum mode deserves at least a note on what 'detail' and 'contentPage' do, and the definition is silent on that and on failure behavior.

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 description coverage is 0% across 7 parameters, yet the description only names street, city and ZIP and says nothing about detail (summary vs full), notes, document_text, or the nested contentPage object with sha256/offset. Those undocumented parameters look like citation and pagination controls that materially change the call, and the description leaves them entirely uninterpreted.

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?

Names a specific verb and resource: look up a California street address via CDTFA for the combined sales and use tax rate and jurisdiction. The purpose is unambiguous, but the description never distinguishes this address-level lookup from the sibling ca_published_jurisdiction_rate, so the agent must infer which one applies.

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?

"Supply street, city and ZIP" merely restates the required parameters rather than explaining when to choose this tool over ca_published_jurisdiction_rate or when a lookup would fail. No prerequisites, no exclusions, no alternative routing guidance is offered.

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