Skip to main content
Glama
firmvalue

firmvalue

by lisaperrin

estimate_parameters

Estimates adjustment-cost parameters from firm-year panel CSV data, pooled and by group, with firm-clustered standard errors and valuation-ratio fit statistics.

Instructions

Estimate adjustment cost parameters from a firm-year panel CSV, pooled and by group.

Returns, per group, the parameters, firm-clustered standard errors and fit statistics (pooled, time-series and cross-sectional R squared of the valuation ratio).

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": {
      "panel_path": "<panel_path>"
    },
    "name": "estimate_parameters"
  }
}

Input Schema

NameRequiredDescriptionDefault
panel_pathYes
estimate_curvatureNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose meaningful behavior: results are produced both pooled and per group, errors are firm-clustered, and three R-squared variants are reported. It says nothing about computational cost, handling of unbalanced panels or missing data, or whether any files are written — gaps that matter for an estimation routine with zero annotation coverage.

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?

Two tight sentences, front-loaded with the action and input, then the returned quantities. Nothing is wasted, though the return-value detail is partly redundant with the existing output schema.

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

Completeness2/5

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

An output schema exists, so the return enumeration is not strictly needed, but the definition leaves out what the input panel must contain, what 'group' means in this context, and what estimate_curvature does. For a statistical estimation tool those omissions are material rather than cosmetic.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for both parameters. It adds meaning for panel_path by indicating the file should be a firm-year panel CSV, but estimate_curvature is never mentioned, leaving the one non-obvious flag completely undefined.

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 names a specific verb and resource ('Estimate adjustment cost parameters') plus scope ('from a firm-year panel CSV, pooled and by group'), which is enough to distinguish it from the decomposition, value-share and simulation siblings. It stops short of explicitly naming when a sibling would be preferred, but the operation itself is unambiguous.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no stated prerequisites (required CSV columns, panel structure, grouping key). The input is mentioned, so the intended scenario is inferable, but no sentence tells the agent how to choose this tool over decompose_firm or simulate_demo_panel.

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