Skip to main content
Glama

My performance

get_my_agent_performance
Read-onlyIdempotent

How this agent has done: trades, wins, realised profit or loss in USD, its most common refusals with what to do differently (last N days), and real_money: whether its sandbox record is ready for real money. Use at the start of a session, after rejections, or when asked about trading real money. Not for the trades themselves (use get_my_trade_history). Input: days (1-90). Only a person promotes an agent, on TradeHub Web. Next: get_my_trading_permissions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_my_agent_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days

Output Schema

NameRequiredDescriptionDefault
daysYesWindow, in days
winsYesClosed with a profit
closedYesOf those, closed
tradesYesPositions opened in the window
refusedYesRefused previews or executions
agent_idYesThis agent (null: a person, all agents together)
refusalsYesMost common refusals first
win_rateYeswins / closed, as a fraction
real_moneyNoAgents only: whether its sandbox record is ready for real money. Only a person promotes an agent, on TradeHub Web
deprecationNoPresent only while this tool is deprecated: replacement, removal_date, changelog
order_callsYesPreviews and refusals
average_pnl_usdYesrealized_pnl_usd / closed, USD
realized_pnl_usdYesSum of realised profit or loss, USD
fixed_within_3_callsYesRefusals the agent should fix itself (error.who = agent) followed by a successful preview within the next 3 calls

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed70 schema fields changed
    • removedInput schema / properties / days / title
      Removed value: -"Days"
    • removedInput schema / title
      Removed value: -"get_my_agent_performanceArguments"
    • addedOutput schema / $defs / Criterion / properties / deprecation / additionalProperties
      Added value: +true
    • removedOutput schema / $defs / Criterion / properties / deprecation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / $defs / Criterion / properties / deprecation / default
      Removed value: -null
    • removedOutput schema / $defs / Criterion / properties / deprecation / title
      Removed value: -"Deprecation"
    • addedOutput schema / $defs / Criterion / properties / deprecation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • removedOutput schema / $defs / Criterion / properties / met / title
      Removed value: -"Met"
    • removedOutput schema / $defs / Criterion / properties / name / title
      Removed value: -"Name"
    • removedOutput schema / $defs / Criterion / properties / need / title
      Removed value: -"Need"
    • removedOutput schema / $defs / Criterion / properties / value / title
      Removed value: -"Value"
    • removedOutput schema / $defs / Criterion / title
      Removed value: -"Criterion"
    • addedOutput schema / $defs / Probation / properties / deprecation / additionalProperties
      Added value: +true
    • removedOutput schema / $defs / Probation / properties / deprecation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / $defs / Probation / properties / deprecation / default
      Removed value: -null
    • removedOutput schema / $defs / Probation / properties / deprecation / title
      Removed value: -"Deprecation"
    • addedOutput schema / $defs / Probation / properties / deprecation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • removedOutput schema / $defs / Probation / properties / loss_limit_usd / title
      Removed value: -"Loss Limit Usd"
    • removedOutput schema / $defs / Probation / properties / loss_so_far_usd / title
      Removed value: -"Loss So Far Usd"
    • removedOutput schema / $defs / Probation / properties / status / title
      Removed value: -"Status"
    • removedOutput schema / $defs / Probation / properties / until / title
      Removed value: -"Until"
    • removedOutput schema / $defs / Probation / properties / venue / title
      Removed value: -"Venue"
    • removedOutput schema / $defs / Probation / title
      Removed value: -"Probation"
    • removedOutput schema / $defs / RealMoney / properties / criteria / title
      Removed value: -"Criteria"
    • addedOutput schema / $defs / RealMoney / properties / deprecation / additionalProperties
      Added value: +true
    • removedOutput schema / $defs / RealMoney / properties / deprecation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / $defs / RealMoney / properties / deprecation / default
      Removed value: -null
    • removedOutput schema / $defs / RealMoney / properties / deprecation / title
      Removed value: -"Deprecation"
    • addedOutput schema / $defs / RealMoney / properties / deprecation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • removedOutput schema / $defs / RealMoney / properties / missing / title
      Removed value: -"Missing"
    • removedOutput schema / $defs / RealMoney / properties / probation / default
      Removed value: -null
    • removedOutput schema / $defs / RealMoney / properties / ready / title
      Removed value: -"Ready"
    • removedOutput schema / $defs / RealMoney / properties / trades_real_venues / title
      Removed value: -"Trades Real Venues"
    • removedOutput schema / $defs / RealMoney / title
      Removed value: -"RealMoney"
    • removedOutput schema / $defs / RefusalPattern / properties / code / title
      Removed value: -"Code"
    • removedOutput schema / $defs / RefusalPattern / properties / count / title
      Removed value: -"Count"
    • addedOutput schema / $defs / RefusalPattern / properties / deprecation / additionalProperties
      Added value: +true
    • removedOutput schema / $defs / RefusalPattern / properties / deprecation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / $defs / RefusalPattern / properties / deprecation / default
      Removed value: -null
    • removedOutput schema / $defs / RefusalPattern / properties / deprecation / title
      Removed value: -"Deprecation"
    • addedOutput schema / $defs / RefusalPattern / properties / deprecation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • removedOutput schema / $defs / RefusalPattern / properties / fix / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / $defs / RefusalPattern / properties / fix / title
      Removed value: -"Fix"
    • addedOutput schema / $defs / RefusalPattern / properties / fix / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / $defs / RefusalPattern / title
      Removed value: -"RefusalPattern"
    • removedOutput schema / properties / agent_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / agent_id / title
      Removed value: -"Agent Id"
    • addedOutput schema / properties / agent_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / average_pnl_usd / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / average_pnl_usd / title
      Removed value: -"Average Pnl Usd"
    • addedOutput schema / properties / average_pnl_usd / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / closed / title
      Removed value: -"Closed"
    • removedOutput schema / properties / days / title
      Removed value: -"Days"
    • addedOutput schema / properties / deprecation / additionalProperties
      Added value: +true
    • removedOutput schema / properties / deprecation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / deprecation / default
      Removed value: -null
    • removedOutput schema / properties / deprecation / title
      Removed value: -"Deprecation"
    • addedOutput schema / properties / deprecation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • removedOutput schema / properties / fixed_within_3_calls / title
      Removed value: -"Fixed Within 3 Calls"
    • removedOutput schema / properties / order_calls / title
      Removed value: -"Order Calls"
    • removedOutput schema / properties / real_money / default
      Removed value: -null
    • removedOutput schema / properties / realized_pnl_usd / title
      Removed value: -"Realized Pnl Usd"
    • removedOutput schema / properties / refusals / title
      Removed value: -"Refusals"
    • removedOutput schema / properties / refused / title
      Removed value: -"Refused"
    • removedOutput schema / properties / trades / title
      Removed value: -"Trades"
    • removedOutput schema / properties / win_rate / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / win_rate / title
      Removed value: -"Win Rate"
    • addedOutput schema / properties / win_rate / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / wins / title
      Removed value: -"Wins"
    • removedOutput schema / title
      Removed value: -"AgentPerformance"
  2. Changed4 schema fields changed
    • addedOutput schema / $defs / Criterion
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "deprecation": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Present only while this tool is deprecated: replacement, removal_date, changelog",
      +      "title": "Deprecation"
      +    },
      +    "met": {
      +      "description": "True: this line is met",
      +      "title": "Met",
      +      "type": "boolean"
      +    },
      +    "name": {
      +      "description": "days, closed_trades, net_pnl_usd, max_drawdown_pct, with_stop_pct or auto_pauses_7d",
      +      "title": "Name",
      +      "type": "string"
      +    },
      +    "need": {
      +      "description": "The bar: a minimum, or a maximum for max_drawdown_pct and auto_pauses_7d",
      +      "title": "Need",
      +      "type": "number"
      +    },
      +    "value": {
      +      "description": "This agent's sandbox record",
      +      "title": "Value",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "value",
      +    "need",
      +    "met"
      +  ],
      +  "title": "Criterion",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / Probation
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "deprecation": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Present only while this tool is deprecated: replacement, removal_date, changelog",
      +      "title": "Deprecation"
      +    },
      +    "loss_limit_usd": {
      +      "description": "Realised loss on that venue that sends it back to the sandbox",
      +      "title": "Loss Limit Usd",
      +      "type": "number"
      +    },
      +    "loss_so_far_usd": {
      +      "description": "Realised loss on that venue since the promotion",
      +      "title": "Loss So Far Usd",
      +      "type": "number"
      +    },
      +    "status": {
      +      "description": "active, demoted (lost loss_limit_usd and went back to the sandbox) or ended",
      +      "title": "Status",
      +      "type": "string"
      +    },
      +    "until": {
      +      "description": "ISO 8601 UTC end of the probation",
      +      "title": "Until",
      +      "type": "string"
      +    },
      +    "venue": {
      +      "description": "The real venue it was promoted to",
      +      "title": "Venue",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "venue",
      +    "status",
      +    "loss_limit_usd",
      +    "loss_so_far_usd",
      +    "until"
      +  ],
      +  "title": "Probation",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / RealMoney
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "criteria": {
      +      "description": "Its sandbox record (last 90 days) against the bar for real money",
      +      "items": {
      +        "$ref": "#/$defs/Criterion"
      +      },
      +      "title": "Criteria",
      +      "type": "array"
      +    },
      +    "deprecation": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Present only while this tool is deprecated: replacement, removal_date, changelog",
      +      "title": "Deprecation"
      +    },
      +    "missing": {
      +      "description": "Lines not met yet",
      +      "items": {
      +        "type": "string"
      +      },
      +      "title": "Missing",
      +      "type": "array"
      +    },
      +    "probation": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/Probation"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "The latest promotion, if any"
      +    },
      +    "ready": {
      +      "description": "True: its sandbox record meets every line below",
      +      "title": "Ready",
      +      "type": "boolean"
      +    },
      +    "trades_real_venues": {
      +      "description": "True: its mandate already includes a real venue (or one is waiting to apply)",
      +      "title": "Trades Real Venues",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "trades_real_venues",
      +    "ready",
      +    "missing",
      +    "criteria"
      +  ],
      +  "title": "RealMoney",
      +  "type": "object"
      +}
    • addedOutput schema / properties / real_money
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/RealMoney"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Agents only: whether its sandbox record is ready for real money. Only a person promotes an agent, on TradeHub Web"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower, and the description still adds real value: it discloses that promotion to real money is a human action on TradeHub Web, preventing the agent from attempting it. It does not discuss rate limits or how refusals are aggregated, but the output schema carries return structure.

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

Conciseness4/5

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

Front-loaded with what is returned, then usage, exclusion, parameter range, and next step — each sentence carries a distinct instruction. Slightly dense with the parenthetical '(last N days)' and the promotion note wedged mid-flow, but nothing is redundant.

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

Completeness5/5

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

For a single-optional-parameter read tool with an output schema and full annotation coverage, this is complete: it says what comes back, when to call it, what it is not for, what it cannot do (promotion), and what to call next.

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?

Schema coverage is 100% and the single 'days' parameter already documents its meaning, default of 30, and 1-90 bounds. The description restates 'days (1-90)' without adding semantics such as how the window interacts with the refusal statistics, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource (this agent's performance) and enumerates its contents: trades, wins, realised P&L in USD, most common refusals with corrective guidance, and a real_money readiness flag. It explicitly excludes the sibling case ('Not for the trades themselves') and points to get_my_trade_history, so an agent can distinguish it without opening schemas.

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

Usage Guidelines5/5

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

Gives concrete triggers — start of session, after rejections, or when asked about trading real money — plus an explicit exclusion routing to get_my_trade_history and a named next step (get_my_trading_permissions). When-to-use, when-not, and alternatives are all present.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources