Skip to main content
Glama

set_correlation

Say how two uncertain assumptions move together: rho between -1 and 1, in rank terms. Both must carry a distribution. Zero removes the pair.

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": {
      "model": "<model>",
      "a": "<a>",
      "b": "<b>",
      "rho": "<rho>"
    },
    "name": "set_correlation"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
rhoYes
modelYesModel uid (`model_…`), from model_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description adds useful behavior: correlation is in rank terms, rho is bounded from -1 to 1, both inputs must have distributions, and zero removes the correlation pair. It does not contradict the annotation profile, though it does not describe error handling or return behavior.

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?

The description is two tight sentences with no wasted words. The core operation and key constraints are front-loaded and easy to parse.

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 four-parameter setter with no output schema, the description provides the critical semantics needed to invoke it correctly: rank correlation, bounded rho, distribution prerequisites, and zero behavior. Remaining gaps around parameter formatting and error behavior are minor.

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 only 25%, so the description must carry more semantic weight. It clarifies that a and b are uncertain assumptions and explains rho as a rank correlation with zero removing the pair, but it does not specify the expected identifier format for a and b or further clarify model beyond the schema description.

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 explains that this tool sets a rank correlation between two uncertain assumptions, including the rho range and the effect of zero. It is specific about the operation, though it does not explicitly differentiate from related distribution-setting siblings.

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?

It gives an important precondition that both assumptions must carry a distribution, and notes that zero removes the pair. However, it does not explicitly say when to use this tool versus alternatives such as setting distributions or other model settings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources