Skip to main content
Glama

regression

Read-onlyIdempotent

Run linear regression on verified public datasets to analyze how one variable predicts another, returning slope, intercept, R², and interpretation.

Instructions

Linear regression of y ~ x for one entity. Returns slope, intercept, R² and interpretation. Use for "how does X predict Y?" questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityYes
yYesDependent variable (target) indicator ID
xYesIndependent variable (predictor) indicator ID
timeNo
Behavior3/5

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

Annotations declare readOnlyHint, destructiveHint, and idempotentHint. Description adds that it returns interpretation, but does not detail behavior for edge cases (e.g., insufficient data). No contradiction with annotations.

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 concise sentences, front-loaded with key information. No unnecessary words.

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?

No output schema, but description lists return values. Missing error conditions, but for a straightforward tool, it is sufficiently complete.

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 50%, with 'y' and 'x' described. Description mentions 'for one entity', adding some clarity for the 'entity' parameter, but 'time' remains unexplained. Slight added value beyond schema.

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?

Description clearly states linear regression, specifies outputs (slope, intercept, R², interpretation), and gives a usage example ('how does X predict Y?'). Distinguishes from sibling tools like 'correlate' and 'what_matters'.

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

Usage Guidelines4/5

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

Explicitly states when to use ('Use for how does X predict Y? questions'), providing clear context. Does not explicitly mention when not to use, but the purpose is well-defined.

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/Autario/autario-mcp'

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