Skip to main content
Glama
firmvalue

firmvalue

by lisaperrin

decompose_firm

Decompose a firm-year's market value into physical, labor, knowledge, and brand capital using stocks, flows, tax rate, and adjustment-cost scales.

Instructions

Decompose one firm-year given its stocks, flows, tax rate and cost parameters.

Stocks are end-of-year values (capital in money units, labor in thousands of employees); flows are the year's capital expenditure, net hires, R&D and advertising. scales maps physical, labor, knowledge and brand to adjustment cost scales; curvatures optionally overrides the quadratic default of 2.

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": {
      "physical": "<physical>",
      "labor": "<labor>",
      "knowledge": "<knowledge>",
      "brand": "<brand>",
      "capex": "<capex>",
      "hires": "<hires>",
      "rd": "<rd>",
      "advertising": "<advertising>",
      "tax_rate": "<tax_rate>",
      "scales": "<scales>"
    },
    "name": "decompose_firm"
  }
}

Input Schema

NameRequiredDescriptionDefault
rdYes
brandYes
capexYes
hiresYes
laborYes
scalesYes
physicalYes
tax_rateYes
knowledgeYes
curvaturesNo
advertisingYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 deliver real behavioral context: end-of-year stock convention, units ('capital in money units, labor in thousands of employees'), and the quadratic default of 2 that curvatures overrides. It says nothing about preconditions, failure modes, or that the tool is a pure computation with no persistent side effects, which is exactly the kind of disclosure an unannotated tool needs.

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?

Three tight sentences that front-load the core action and then define stock/flow conventions before the optional override. The quoted-block formatting adds nothing and the density of domain jargon is high, but no sentence is padding.

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 described, and the input semantics are well covered for an 11-parameter tool. What is missing is context an agent needs before calling: what 'decompose' yields conceptually, required ordering or preconditions, and how the single-firm case relates to decompose_live.

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

Parameters4/5

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

Schema coverage is 0% and there are 11 parameters including nested objects, so the description must compensate, and it largely does: it groups physical/labor as end-of-year stocks, capex/hires/rd/advertising as the year's flows, and explains scales as physical/labor/knowledge/brand adjustment-cost scale keys. Gaps remain on units for the flows and on what keys curvatures accepts, but the binding of names to meanings is far beyond a bare schema.

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?

States a specific verb ('Decompose') and a precisely scoped resource ('one firm-year'), then enumerates the input categories (stocks, flows, tax rate, cost parameters). It is clearly a single-firm variant, but it never names or contrasts with the sibling decompose_live, so the agent must infer the split from the name alone.

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 guidance, no when-not-to, and no mention of alternatives such as decompose_live, value_shares or estimate_parameters. The phrase 'one firm-year' is the only implicit signal, and it is not framed as a selection rule.

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