Skip to main content
Glama
jackdark425

Financial Modeling Prep (FMP) MCP Server

by jackdark425

get_economic_calendar

Retrieve upcoming economic data release schedules to track market-moving events and plan financial analysis.

Instructions

Get upcoming economic data releases calendar

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoStart date in YYYY-MM-DD format (optional)
toNoEnd date in YYYY-MM-DD format (optional)

Implementation Reference

  • The handler implementation and registration for 'get_economic_calendar'.
    server.registerTool(
      'get_economic_calendar',
      {
        description: 'Get upcoming economic data releases calendar',
        inputSchema: DateRangeSchema,
      },
      async (args: z.infer<typeof DateRangeSchema>) => {
        try {
          const params: string[] = [];
          if (args.from) params.push(`from=${args.from}`);
          if (args.to) params.push(`to=${args.to}`);
          const endpoint = '/economic-calendar' + (params.length ? `?${params.join('&')}` : '');
          const data = await fetchFMP<EconomicCalendar[]>(endpoint);
          return jsonResponse(data);
        } catch (error) {
          return errorResponse(error);
        }
      }
    );
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves a calendar but doesn't describe what the calendar includes (e.g., event types, regions, importance levels), how results are formatted, whether it's paginated, or any rate limits or authentication requirements. This leaves significant gaps for an agent to understand the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero wasted words. It front-loads the core purpose ('Get upcoming economic data releases calendar') without unnecessary elaboration, making it easy to parse and understand quickly.

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

Completeness2/5

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

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what the calendar contains, how results are structured, or any behavioral traits like error handling. For a tool with no structured metadata, the description should provide more context to compensate, but it remains minimal.

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?

The description adds no parameter semantics beyond what the input schema provides. With 100% schema description coverage, the schema already documents both optional date parameters with formats. The baseline score of 3 reflects that the schema adequately covers parameters, but the description doesn't enhance understanding with examples or contextual usage of date ranges.

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 clearly states the verb 'Get' and the resource 'upcoming economic data releases calendar', making the purpose immediately understandable. It distinguishes this tool from siblings like get_earnings_calendar by specifying 'economic data releases' rather than corporate earnings. However, it doesn't explicitly contrast with get_economic_indicator, which might retrieve specific indicators rather than a calendar of releases.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention siblings like get_earnings_calendar or get_economic_indicator, nor does it specify prerequisites, contexts, or exclusions. The user must infer usage based on the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/jackdark425/aigroup-fmp-mcp'

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