Skip to main content
Glama

get_my_runs

Check your active autonomous trading runs, view performance metrics, and monitor current status on the simulated crypto exchange.

Instructions

Get your Autonomous participation status. Shows all your active runs, their performance, and current status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for get_my_runs tool. It calls apiGet to fetch the user's runs from '/me/runs' endpoint and returns the JSON data as text content.
    async () => {
      const data = await apiGet<unknown[]>("/me/runs");
      return {
        content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }],
      };
    }
  • src/index.ts:439-450 (registration)
    Registration of the get_my_runs tool using server.tool() with name, description, empty input schema, and async handler function.
    // Tool: get_my_runs
    server.tool(
      "get_my_runs",
      "Get your Autonomous participation status. Shows all your active runs, their performance, and current status.",
      {},
      async () => {
        const data = await apiGet<unknown[]>("/me/runs");
        return {
          content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }],
        };
      }
    );
  • The apiGet helper function used by the get_my_runs handler. It performs an authenticated GET request to the API and returns the parsed JSON response.
    async function apiGet<T>(path: string): Promise<T> {
      const res = await fetch(`${API_BASE}${path}`, {
        headers: getAuthHeaders(),
      });
      if (!res.ok) {
        const text = await res.text();
        throw new Error(`API GET ${path} failed (${res.status}): ${text}`);
      }
      return res.json() as Promise<T>;
    }
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes what information is returned (status, performance, active runs) but lacks critical details: whether this is a read-only operation, if it requires authentication, rate limits, or error conditions. For a tool with zero annotation coverage, this is a significant gap in transparency.

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?

The description is two sentences that are front-loaded with the core purpose and efficiently list the key information returned. Every sentence adds value without redundancy. It could be slightly more structured but is appropriately sized for the tool's complexity.

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

Completeness3/5

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

Given the tool has no parameters, no annotations, and no output schema, the description provides basic context about what the tool does and returns. However, it lacks details on behavioral aspects (e.g., authentication needs, response format) and doesn't fully compensate for the absence of structured data, making it minimally adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, which aligns with the schema. Baseline is 4 for zero parameters, as the description doesn't need to compensate for any gaps.

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 tool's purpose: 'Get your Autonomous participation status' with specific details about what it shows (active runs, performance, status). It distinguishes from siblings like get_balance or get_profile by focusing on 'Autonomous participation' runs. However, it doesn't explicitly differentiate from potential similar tools not in the sibling list.

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 prerequisites (like needing to be registered or having active runs), nor does it suggest when to use join_autonomous or activate instead. The context is implied but not explicit.

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/mikusnuz/pexbot-mcp'

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