Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BANGO_API_KEYYesBango API の APIキー(https://bango-api.jp/signup で無料発行)
BANGO_API_BASE_URLNo接続先の上書き(既定 https://api.bango-api.jp/v1)https://api.bango-api.jp/v1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

日本の会社(法人)を特定し、法人番号・所在地・インボイス(適格請求書発行事業者)の登録状況を調べるためのツールです。会社名しか分からないときは bango_find_company、法人番号かT番号が分かっているときは bango_get_company、請求書のT番号が有効かを確かめたいときは bango_check_invoice、会社名の一覧に法人番号をまとめて付けたいときは bango_match_companies を使います。候補が複数あって決めきれないときは、推測で1社に決めずにユーザーへ所在地などを確認してください。回答で法人情報を示すときは、国税庁の公表情報をもとにしたデータであり国税庁が保証するものではないことを添えてください。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bango_find_companyA

Find Japanese companies (法人) by name and return candidate corporate numbers (法人番号). Use this when the user gives a company name instead of a number, e.g. 「トヨタ自動車」「㈱サンプル 大阪」「sample shoji」. Name variants are absorbed automatically (株式会社/㈱/(株), full-width/half-width, spaces), so pass the name as the user wrote it; do not guess a 13-digit number. Narrow with prefecture when the user mentions a place. Results are ranked by score (0-1). If several candidates look plausible, ask the user which one they mean (show name and prefecture) instead of picking one. Then call bango_get_company with the chosen corporate_number for address and invoice status. Each call uses 1 API request from the user's Bango API quota.

bango_get_companyA

Look up one Japanese company or invoice issuer by its corporate number (法人番号, 13 digits) or invoice registration number (登録番号, 'T' + 13 digits). Hyphens, spaces and full-width digits are accepted, e.g. 「T1-1803-0101-8771」. Returns official name, kana, address, whether the company is still active (閉鎖の有無), and its invoice registration status (有効/失効/登録取消/未登録). T-numbers of sole proprietors (個人事業主) also work, but personal address is returned only if the person chose to publish it. If you only have a company name, call bango_find_company first. Uses 1 API request.

bango_check_invoiceA

Check whether invoice registration numbers (適格請求書発行事業者の登録番号, T + 13 digits) are valid, for one or many numbers at once (up to 20). Typical use: verifying the T-number printed on an invoice or receipt before claiming input tax credit (仕入税額控除). Without date, checks validity as of today (JST) and also returns the registered name so the user can compare it with the invoice. With date (e.g. the invoice issue date), checks validity on that date; the name is not returned in that mode. A number with only 13 digits is treated as a T-number. Invalid or unknown numbers are reported per item and do not fail the whole call. Uses 1 API request per number.

bango_match_companiesA

Match a list of company names (e.g. a customer list, sales list, or vendor master from a spreadsheet) to corporate numbers in one go (名寄せ). Each row gets a confidence: 'confident' (safe to use), 'review' (several close candidates; show them to the user), or 'unmatched'. Pass up to 50 names per call; adding a prefecture per row improves accuracy. The job usually finishes within seconds. If it is still running when this tool returns, call it again with the returned job_id (and no companies) to fetch the result; do not resubmit the list. Uses batch-row quota (Free plan: 50 rows per month). For a single company, bango_find_company is cheaper.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.7/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a clear primary role: name-to-number search, number-to-details lookup, invoice validation, and bulk name matching. The main overlap is between bango_get_company and bango_check_invoice, since both can accept T-numbers and report invoice-related information, but their descriptions distinguish single-record detail lookup from batch validation.

Naming Consistency5/5

All tools use the same bango_ prefix followed by a clear verb_noun pattern: find_company, get_company, check_invoice, match_companies. The verbs are distinct and the snake_case convention is consistent throughout.

Tool Count5/5

Four tools is well scoped for a focused Japanese corporate-number and invoice lookup server. Each tool covers a distinct workflow need without redundant surface area.

Completeness5/5

The set covers the key workflows: resolving a name to a corporate number, retrieving details by number, validating invoice registration numbers, and batch-matching company lists. No obvious operational gap remains for the stated lookup domain.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues