Skip to main content
Glama

Get risk context

get_risk_context
Read-only

Get risk context indicators for a Japanese listed company. Returns BOJ rate sensitivity, METI export control classification and NGA navigational warnings of the last 30 days, attributed to NGA in their own section (routine notices such as survey work, buoys and cable operations are left out unless include_routine_warnings is true). Figures are calculated by Kabuken from EDINET filings, not reported directly by EDINET.

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": {
      "entity_code": "<entity_code>"
    },
    "name": "get_risk_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_codeYesEDINET entity code of the company (e.g. 'E02144').
include_routine_warningsNoInclude routine navigational warnings (survey work, buoys, cable and pipeline operations, small local zones). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / include_routine_warnings
      Added value: +{
      +  "description": "Include routine navigational warnings (survey work, buoys, cable and pipeline operations, small local zones). Default false.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description earns credit for adding provenance instead: figures are computed by Kabuken from EDINET filings rather than reported by EDINET, warnings are limited to the last 30 days, and NGA content is attributed in its own section. These are meaningful caveats an agent would otherwise not know. It still does not describe output shape or any failures/empty-result behavior.

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?

Three sentences, front-loaded with the purpose, then the returned data, then the provenance caveat where it matters most. The middle parenthetical is dense and duplicates schema text, which is the one place wording could be trimmed.

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

Completeness4/5

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

With no output schema, the description does the necessary work of naming what comes back and how NGA warnings are scoped and attributed. For a two-parameter read tool this is close to sufficient, though it could say more about how the three sections are structured or what an entity with no warnings returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented, including the default of false and the routine-warning examples. The description's parenthetical largely restates the schema's own examples rather than adding new semantics, and entity_code is not discussed at all beyond the tool-level scope. Baseline 3 applies when the schema carries the parameter burden.

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?

Specific verb plus resource ('Get risk context indicators') scoped to a Japanese listed company, and it enumerates the three returned content types (BOJ rate sensitivity, METI export control classification, NGA navigational warnings). That enumeration cleanly separates it from siblings like get_company or get_company_financials without needing to name them.

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?

Usage is implied rather than stated: an agent can infer this is a per-company risk lookup keyed by EDINET entity code, but there is no explicit when-to-use, when-not-to-use, or named alternative among the 17 siblings. The only explicit condition given is parameter-level (routine warnings included only if include_routine_warnings is true), not tool-selection guidance.

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.