Skip to main content
Glama
paperinvest

Paper MCP Server

by paperinvest

get_today_filled_orders

Fetch all orders filled today on Paper's trading platform, with options to specify page number and results per page for efficient data retrieval.

Instructions

Get all orders filled today

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoResults per page (default: 10)
pageNoPage number (default: 1)

Implementation Reference

  • Handler implementation that fetches today's filled orders via API GET request to '/orders/filled/today' endpoint with pagination parameters.
    case 'get_today_filled_orders': response = await api.get('/orders/filled/today', { params: { page: args.page || 1, limit: args.limit || 10 } }); break;
  • Tool schema definition with name, description, and input schema for optional pagination (page and limit).
    { name: 'get_today_filled_orders', description: 'Get all orders filled today', inputSchema: { type: 'object', properties: { page: { type: 'number', description: 'Page number (default: 1)' }, limit: { type: 'number', description: 'Results per page (default: 10)' } } } },

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/paperinvest/mcp-server'

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