Skip to main content
Glama

Function Plotter

plot_function
Read-onlyIdempotent

Generate mathematical function plots (requires matplotlib).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x_rangeYesX-axis range as (min, max), e.g., (-5.0, 5.0)
expressionYesMathematical expression to plot, e.g., "x**2" or "sin(x)". Must be <= MAX_EXPRESSION_LENGTH characters. Example: "x**2"
num_pointsNoNumber of sample points to plot along x_range, e.g., 100

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_range / description
      Added value: +"X-axis range as (min, max), e.g., (-5.0, 5.0)"
  2. Changed2 schema fields changed
    • addedInput schema / properties / expression / description
      Added value: +"Mathematical expression to plot, e.g., \"x**2\" or \"sin(x)\". Must be <= MAX_EXPRESSION_LENGTH characters. Example: \"x**2\""
    • addedInput schema / properties / num_points / description
      Added value: +"Number of sample points to plot along x_range, e.g., 100"
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  4. Changed4 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / expression / title
      Removed value: -"Expression"
    • removedInput schema / properties / num_points / title
      Removed value: -"Num Points"
    • removedInput schema / properties / x_range / title
      Removed value: -"X Range"
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.