Skip to main content
Glama

get_expressions

Extract LaTeX expressions, colors, settings, and graph bounds from a Desmos calculator URL so you can reuse or analyze an existing graph's configuration.

Instructions

Extract the mathematical expressions, settings, and configuration from an existing Desmos calculator URL. Returns the list of expressions with their LaTeX, colors, and graph bounds.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "get_expressions"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesDesmos calculator URL (e.g. 'https://www.desmos.com/calculator/4wkcpbapnv')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the shape of the result (list of expressions with LaTeX, colors, and graph bounds), which is real behavioral value. It says nothing about failure modes — invalid URLs, private/unshared graphs, or rate limits — nor does it state that the operation is non-mutating, though the verb "extract" implies a read.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and the source, then a second sentence covering return content that earns its place precisely because no output schema exists. No filler wording.

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

Completeness4/5

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

This is a simple, single-parameter read tool with a fully described schema, and the description compensates for the absent output schema by naming the returned fields. The remaining gap is error/edge-case behavior for bad or inaccessible URLs, which is a minor omission at this complexity.

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% and the single url parameter is already documented with a concrete example in the schema. The description adds only the qualifier "existing," which conveys no syntax or format detail beyond the schema, so baseline 3 applies.

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 uses a specific verb ("extract") with a specific resource (mathematical expressions, settings, and configuration) scoped to an existing Desmos calculator URL, so an agent can tell this is a read-from-existing-URL operation. It does not explicitly contrast itself with siblings like load_desmos_url or plot_graph, which is the only thing keeping it from a 5.

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?

"From an existing Desmos calculator URL" implies the precondition (you must already have a URL) and implies usage, but there is no explicit when-to-use versus when-not guidance and no named alternative for cases where the agent has no URL yet. Adequate implication, no routing.

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

Deploy Server

Other Tools