Skip to main content
Glama

Screen companies

screen_companies
Read-only

If a call is not available for this account, get_account_quota shows what this account can access. Find Japanese listed companies matching financial ratio filters (ROE, ROA, operating margin and others). Supported ratios: roe, roa, operating_margin (fractions, e.g. 0.15 means 15%), current_ratio and debt_to_equity (plain ratios, e.g. 1.5 means 1.5x). Multiple filters are combined with AND logic. Only the latest reported period per company is considered. Companies with negative equity are excluded by default. Banks, insurers and securities firms (statement_format bank, insurance, insurance_life, insurance_nonlife or securities, read from each filing whatever its accounting standard) are excluded by default, because their ratios measure a balance sheet that is the business itself and have no operating margin or current ratio; include_financials: true includes them. ROE and ROA divide net income by the average of the opening and closing balance (the 決算短信 convention); roe_basis and roa_basis are "average", or "year_end" when the opening balance is not available. Companies no longer on the JPX listed-company list are excluded by default; include_delisted: true includes them. Each result carries its statement_format and ratio_flags: a list of {ratio, code, note} marking a ratio that is arithmetically correct but not comparable. financial_industry (banks, insurers and other financial sectors) is flagged now. financial_segment_dominant (most liabilities belong to a banking, securities, card or insurance business inside a group), one_off_gain, balance_sheet_jump and equity_jump (return ratios distorted by extraordinary income, a large change in total assets or a threefold rise in owners' equity) appear after the metrics recompute. Values are never changed or hidden; an empty list means no flag. Source: EDINET (https://disclosure2.edinet-fsa.go.jp/), PDL 1.0 (https://www.digital.go.jp/resources/open_data/public_data_license_v1.0). Data is processed by Kabuken, not raw unprocessed FSA data. Figures are calculated by Kabuken from EDINET filings, not reported directly by EDINET. Not investment advice.

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": {
      "filters": "<filters>"
    },
    "name": "screen_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (1-100, default 20)
cursorNoOpaque next_cursor from the previous response; send it with the same filters, sort and limit to get the next page. total is returned on the first page only.
filtersYesArray of ratio filters. Each filter specifies a metric, a comparison operator (gt, lt, gte, lte), and a numeric threshold value.
sort_byNoOptional metric to sort results by. Default sort is by entity_code.
industry_idNoOptional industry filter. Industry ID, e.g. ind_3700. The bare industry code (3700) is also accepted.
sort_directionNoSort direction when sort_by is specified. Default: desc.
include_delistedNoInclude companies that are no longer on the JPX listed-company list (delisted), which are excluded by default. Default: false.
include_financialsNoInclude banks, insurers and securities firms, which are excluded by default. Their ROE, ROA and debt_to_equity are not comparable with other companies', and operating_margin and current_ratio are null for banks and insurers. Default: false.
exclude_negative_equityNoExclude companies with negative equity (inferred from a negative debt_to_equity ratio, since liabilities are never negative) from results. Default: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Opaque next_cursor from the previous response; send it with the same filters, sort and limit to get the next page. total is returned on the first page only.",
      +  "maxLength": 512,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Far beyond the annotations (which only say read-only, closed-world, non-destructive), the description discloses default exclusion rules, why financials are excluded and why their ratios are non-comparable, the averaging convention behind ROE/ROA, and the ratio_flags mechanism including which flags are currently active versus which appear later. It also discloses provenance and licensing, so an agent knows the data is derived by Kabuken rather than raw FSA reporting.

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 content is dense and almost entirely substantive, and the purpose is front-loaded, but it is delivered as one undifferentiated block in which result-field documentation, accounting methodology, provenance/licensing and a disclaimer are all interleaved. A reader must work through flag semantics before learning basic defaults, so structure rather than length is the weakness.

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

Completeness5/5

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

For a 9-parameter screening tool with no output schema, the description covers the filtering logic, the defaults that silently shape results, and the shape of returned fields such as statement_format and ratio_flags. An agent has enough to call it correctly and to interpret the response without further documentation.

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?

With 100% schema coverage the baseline is 3, but the description adds meaning the schema does not: multiple filters combine with AND logic, and only the most recent reported period per company is considered. The unit conventions for fractions versus plain ratios are repeated from the schema rather than added, so it stops short of a 5.

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?

The description states a specific verb and resource — "Find Japanese listed companies matching financial ratio filters" — and enumerates exactly which ratios can be screened, which is far more precise than the name alone. It does not explicitly contrast itself with search_companies or compare_companies, so the differentiation from siblings remains implicit.

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

Usage Guidelines4/5

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

It clearly establishes the screening context and spells out the important defaults (latest period only, negative equity excluded, financials excluded, delisted excluded) plus the escape hatches include_financials and include_delisted. What it lacks is an explicit statement of when to pick this over searching or comparing companies, and the opening quota sentence is about error recovery rather than tool selection.

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.