Skip to main content
Glama
firmvalue

firmvalue

by lisaperrin

value_shares

Compute average book-value and market-value shares for physical, labor, knowledge, and brand capital, pooled or by group, using a firm panel and optional estimated parameters.

Instructions

Average book-value and market-value shares of the four inputs, pooled and by group.

parameters_path is the JSON written by the estimate command or estimate_parameters; when omitted the parameters are estimated first.

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

Input Schema

NameRequiredDescriptionDefault
panel_pathYes
parameters_pathNo

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, the description carries the full burden, and it does disclose one important behavior: when parameters_path is omitted, the parameters are estimated first, implying extra computation before results. It does not state whether anything is written to disk, whether panel_path is read-only, or the cost of the implicit estimation step.

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 short sentences with no padding, and the core output description is front-loaded before the parameter note. Minor awkwardness from the reStructuredText double-backtick markup, but nothing is wasted.

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

Completeness3/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 spelled out. Still, for a tool whose name collides with a sibling and whose required panel_path is undocumented, the definition leaves more for the agent to infer than necessary.

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 0%, so the description must compensate. It explains parameters_path well (the JSON produced by 'estimate' or 'estimate_parameters', with the default-estimation fallback), but says nothing about panel_path beyond its name, leaving the required parameter undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the computed quantity (average book-value and market-value shares of 'the four inputs', pooled and by group), which is more than a restatement of the name. However, 'the four inputs' is undefined domain jargon, and the description never distinguishes this tool from the close sibling 'published_value_shares', leaving an agent to guess which one to call.

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 when-to-use guidance and no explicit alternative named; the only conditional statement concerns parameter omission, not tool selection. Given a sibling named 'published_value_shares' that sounds near-identical, the absence of any routing guidance is a real gap.

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