Skip to main content
Glama
harsha-moparthy

broker-rails

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_quoteC

Current bid/ask for one symbol.

get_positionsD

Open positions.

get_accountC

Cash, equity, exposure and day P&L.

get_limitsA

The risk limits in force.

Readable on purpose: an agent that can see the limits can plan within them instead of discovering them by rejection. Readable is not writable -- there is no corresponding setter anywhere in the server.

market_contextA

Quotes plus headline text for the allowed symbols.

The headlines are the untrusted-content channel: this is where an injected instruction would arrive in a real deployment (news, filings, social). The tool is read-only by construction, so the worst an injection can do is persuade the model -- and the model cannot reach the order path except through rails that never read this text.

recent_decisionsB

The most recent pre-trade decisions, from the audit log.

place_orderB

Submit an order. Subject to pre-trade risk limits.

By the time this body runs the middleware has already approved the order -- it is unreachable otherwise. The handler therefore uses the vetted intent from the middleware rather than re-parsing its own arguments, so there is no second interpretation of the agent's input that could differ from the one the rails checked.

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/harsha-moparthy/broker-rails'

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