Skip to main content
Glama

Trade Surveillance Support MCP Server

by vic3custodio

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
parse_email_inquiry
Parse a user inquiry email to extract key information for investigation. This tool analyzes email content and extracts: - Inquiry type (trade issue, report request, data verification, etc.) - Related trade IDs or account numbers - Time period of interest - Priority level - Required actions Args: email_content: The full text content of the user's inquiry email Returns: A dictionary containing parsed information including inquiry_type, trade_ids, time_period, priority, and suggested_actions
search_sql_configs
Search for SQL configuration files using metadata keywords instead of file paths. This tool searches through indexed SQL config files by their metadata annotations. Files should include metadata comments like: -- @keywords: trade, transaction, daily_report -- @type: compliance_check -- @description: Daily trade reconciliation report Args: search_keywords: Keywords to search for (e.g., "trade settlement", "compliance", "daily report") config_directory: Path to the directory containing SQL config files (used for initial scan) Returns: A dictionary containing matching config files with their metadata
search_java_code
Search for Java classes using metadata keywords instead of file paths. This tool searches through indexed Java files by their javadoc metadata annotations. Java classes should include metadata in javadoc comments like: /** * @keywords trade, settlement, report_generator * @type report_engine * @description Generates daily settlement reports */ Args: search_keywords: Keywords to search for (e.g., "report generator", "trade processor") code_directory: Path to the directory containing Java source files (used for initial scan) Returns: A dictionary containing matching Java files with their metadata and methods
execute_java_report
Execute a Java process to generate a trade surveillance report. This tool runs the specified Java class with the given config file to generate the required report or data extract. Args: java_class: The fully qualified Java class name to execute config_file: Path to the SQL config file to use output_directory: Directory where the report should be saved Returns: A dictionary containing execution status, report path, and any errors
rebuild_metadata_index
Rebuild the metadata index by scanning all SQL configs and Java files. Use this tool when you've added new files or updated metadata annotations. The index is automatically built on first search, but you can manually rebuild it with this tool. Args: config_directory: Path to the directory containing SQL config files code_directory: Path to the directory containing Java source files Returns: A summary of the indexing operation
generate_response_summary
Generate a summary response for the user inquiry with all relevant information. This tool combines all the gathered information into a clear, actionable response that can be sent back to the user. Args: parsed_email: The parsed email inquiry data config_files: List of config files that were used report_path: Path to the generated report file Returns: A formatted summary string ready to send to the user

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vic3custodio/mcp_test_2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server