Skip to main content
Glama
PaddleHQ

Paddle MCP Server

Official
by PaddleHQ

get_simulation

Read-only

Retrieve a simulation configuration from Paddle Billing using its unique ID to access setup details and parameters.

Instructions

This tool will retrieve a simulation from Paddle by its ID.

This is for the configuration of a simulation, as opposed to the simulation run which is used to send the events to the notification destination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
simulationIdYesPaddle ID of the simulation entity.

Implementation Reference

  • The core handler function for the 'get_simulation' tool. It takes a Paddle instance and parameters, extracts simulationId, calls paddle.simulations.get(simulationId), and returns the simulation or error.
    export const getSimulation = async (paddle: Paddle, params: z.infer<typeof Parameters.getSimulationParameters>) => {
      try {
        const { simulationId } = params;
        const simulation = await paddle.simulations.get(simulationId);
        return simulation;
      } catch (error) {
        return error;
      }
    };
  • The MCP tool schema definition for 'get_simulation', including method name, description prompt reference, input parameters schema reference (params.getSimulationParameters), and required actions/permissions.
      method: "get_simulation",
      name: "Get a simulation",
      description: prompts.getSimulationPrompt,
      parameters: params.getSimulationParameters,
      actions: {
        simulations: {
          read: true,
          get: true,
        },
      },
    },
  • src/api.ts:57-57 (registration)
    Registration of the getSimulation handler in the toolMap used by PaddleAPI.run() to dispatch tool calls to the correct function.
    [TOOL_METHODS.GET_SIMULATION]: funcs.getSimulation,
  • src/tools.ts:1021-1023 (registration)
    Export of the full tools array which includes the 'get_simulation' tool definition, serving as the primary MCP tools registration.
    ];
    
    export default tools;
  • Constant definition for the tool method name string used in TOOL_METHODS and registrations.
    GET_SIMULATION: "get_simulation",
Behavior3/5

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

Annotations provide readOnlyHint=true, indicating a safe read operation. The description adds useful context about retrieving configuration vs. run data, which helps the agent understand the scope. However, it doesn't disclose additional behavioral traits like error handling, authentication needs, or rate limits. With annotations covering safety, this adds moderate value.

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 with zero waste—front-loaded with the core purpose and followed by clarifying context. It's appropriately sized for a simple retrieval tool, though it could be slightly more structured for optimal scanning.

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?

For a simple read tool with one parameter and annotations covering safety, the description is mostly complete. However, without an output schema, it doesn't explain return values (e.g., what configuration data is included). Given the complexity is low, this is adequate but leaves a minor gap.

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 description coverage is 100% with one parameter 'simulationId' fully documented. The description doesn't add any parameter-specific details beyond what the schema provides (e.g., format examples or constraints). Since the schema carries the full burden, the baseline score of 3 is appropriate.

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: 'retrieve a simulation from Paddle by its ID' (specific verb+resource). It distinguishes from sibling 'get_simulation_run' by clarifying it's for configuration vs. run. However, it doesn't explicitly differentiate from 'list_simulations' or 'create_simulation', which slightly limits full sibling differentiation.

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

Usage Guidelines3/5

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

The description implies usage context by contrasting with 'simulation run' tools, suggesting this is for configuration retrieval. However, it doesn't provide explicit guidance on when to use this vs. 'list_simulations' or 'create_simulation', nor does it mention prerequisites or error conditions. The guidance is helpful but incomplete.

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

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