Skip to main content
Glama

Identify a discrete plant

identify_discrete_plant
Read-onlyIdempotent

Fit a discrete linear A, B, and dt from logged (t, u, y) samples.

This tool stays free when payment enforcement is on. It does not call IPOPT. Pass the returned matrices to solve_mpc as a linear system. Send 4 to 2000 samples. Each y has length 1..24 and each u has length 1..12, the same widths on every row, all finite, with strictly increasing timestamps. Anything else is rejected before the fit.

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": {
      "request": "<request>"
    },
    "name": "identify_discrete_plant"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesLogged (t, u, y) samples for a free discrete linear fit. No X-API-Key and no x402 charge. Pass A, B, and dt to solve_mpc after a free validate_problem.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / request / description
      Previous value: -"Logged ``(t, u, y)`` samples for a discrete linear fit. The route stays free.\n\nFour to 2000 rows. Every ``y`` has length 1..24 and every ``u`` has length\n1..12, and those widths do not change from row to row. Timestamps are finite\nand strictly increasing. Those checks run before any numeric fit."New value: +"Logged (t, u, y) samples for a free discrete linear fit. No X-API-Key and no x402 charge. Pass A, B, and dt to solve_mpc after a free validate_problem."
    • addedInput schema / properties / request / properties / samples / description
      Added value: +"Logged (t, u, y) rows. Length 4 to 2000. This fit is free: no X-API-Key and no x402 charge."
    • addedInput schema / properties / request / properties / samples / items / properties / t / description
      Added value: +"Sample time. Must be finite, and strictly increasing from row to row. Use one time unit for the whole log."
    • addedInput schema / properties / request / properties / samples / items / properties / u / description
      Added value: +"Input sample, length 1 to 12. A scalar is wrapped as a one-element list. Every row uses the same length."
    • addedInput schema / properties / request / properties / samples / items / properties / y / description
      Added value: +"Output sample, length 1 to 24. A scalar is wrapped as a one-element list. Every row uses the same length."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint and non-destructiveness, and the description adds real behavioral context beyond them: no IPOPT call, no X-API-Key or x402 charge, the tool remains free under payment enforcement, and invalid inputs are rejected before the fit. It stops short of describing the fit method or failure modes, but the cost and validation profile is unusually well disclosed.

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

Conciseness4/5

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

Purpose is front-loaded in the first sentence, followed by cost and constraint details, with no wasted filler. The short declarative fragments about payment enforcement and IPOPT read slightly as boilerplate but each conveys usable 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?

An output schema exists, so return values need not be explained, and annotations cover safety. The description supplies the missing pieces an agent needs — billing behavior, the no-IPOPT guarantee, downstream handoff to solve_mpc, and the validation envelope — making it complete for a single-parameter fit tool.

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 nested sample schema already documents t/u/y lengths and constraints, so the baseline is 3. The description restates those bounds (4 to 2000 samples, y 1..24, u 1..12, finite, strictly increasing) as a reinforcement rather than adding new meaning.

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?

States a specific verb and resource: "Fit a discrete linear A, B, and dt from logged (t, u, y) samples." It also distinguishes itself from siblings by naming solve_mpc as the downstream consumer, so an agent can tell this is the system-identification step rather than the solver itself.

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?

Gives clear workflow guidance: pass the returned matrices to solve_mpc as a linear system, and the schema note adds "after a free validate_problem." It lacks explicit when-not-to-use guidance or a named alternative for nonlinear identification, but the sequencing context is strong.

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.