exposure_analysis
Analyze a company's exposure by examining first- and second-degree connections, sector concentration, and dependency risks to identify vulnerabilities.
Instructions
Analyze a company's exposure: 1st and 2nd degree connections, sector concentration, dependency risks. Example: exposure_analysis(entity_id='company:TSM')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Entity ID to analyze |
Implementation Reference
- graphite_mcp/server.py:110-120 (registration)Tool registration for exposure_analysis — defines the tool name, description, and inputSchema within the list_tools() handler. Requires a single 'entity_id' parameter.
Tool( name="exposure_analysis", description="Analyze a company's exposure: 1st and 2nd degree connections, sector concentration, dependency risks. Example: exposure_analysis(entity_id='company:TSM')", inputSchema={ "type": "object", "properties": { "entity_id": {"type": "string", "description": "Entity ID to analyze"}, }, "required": ["entity_id"], }, ), - graphite_mcp/server.py:169-172 (handler)Handler for exposure_analysis — calls the REST API endpoint /graph/exposure with the entity_id parameter passed as 'entity' query param.
elif name == "exposure_analysis": result = await _get("/graph/exposure", params={ "entity": arguments["entity_id"], }) - graphite_mcp/server.py:113-119 (schema)Input schema for exposure_analysis — a JSON object requiring 'entity_id' (string).
inputSchema={ "type": "object", "properties": { "entity_id": {"type": "string", "description": "Entity ID to analyze"}, }, "required": ["entity_id"], },