Skip to main content
Glama

Suggest a scatter spec from a CSV

infer
Read-onlyIdempotent

Propose a starting scatter chart spec from CSV text or a file path, returning editable JSON for rendering; it only suggests the spec and draws nothing.

Instructions

Propose a starting spec for a scatter chart from a CSV. Returns the spec as JSON to edit and pass to render. Read-only: it suggests and draws nothing. Only for scatter charts; for other charts, describe the type and write the spec yourself.

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": "infer"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoCSV text, inline. Give this or path.
pathNoA CSV file on disk. Give this or data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.1
    • addedInput schema / properties / data / description
      Added value: +"CSV text, inline. Give this or path."
    • addedInput schema / properties / path / description
      Added value: +"A CSV file on disk. Give this or data."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered; the description reinforces it with 'suggests and draws nothing', which clarifies that no image is produced. The added handoff detail — returns JSON to edit and pass to render — is genuinely useful given there is no output schema. Minor redundancy with the annotation keeps it from a 5.

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?

Three short sentences, front-loaded with purpose and scope before the exclusion and the return-value note. No wording can be removed without losing routing information.

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?

For a two-parameter, no-output-schema tool, the description covers purpose, exclusion, and what the return value is for. It is slightly silent on what happens if both 'data' and 'path' are omitted (neither is required), a small edge-case 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 coverage is 100% and both parameters already document the 'give this or path' alternation, so the description adds no parameter-level meaning. Baseline 3 applies when the schema does the heavy lifting.

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?

The description opens with a specific verb and resource — 'Propose a starting spec for a scatter chart from a CSV' — and immediately narrows scope to scatter charts only. An agent can separate it from sibling tools like render or describe without opening any schema.

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?

It states both when to use ('only for scatter charts') and when not to ('for other charts, describe the type and write the spec yourself'), and it names the downstream step ('edit and pass to render'). That is explicit routing, not implied usage.

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