Skip to main content
Glama

Get factory census

get_factory_census
Read-onlyIdempotent

KR2 census for the current company: over the STAMPED builder landings of the trailing 28 days, the share that named a Key Result at birth or is factory-self-classed (landings_aligned_pct_28d) — factory-self credited at most a fifth of stamped landings, the excess reported as landings_factory_self_over_cap_28d — with the raw factory-self share and any pre-rule unstamped landings beside it. Feeds the factory_landings_aligned_pct_28d KR measure source. Read-only. Use when the operator or the okr-health sweep asks how aligned the factory's output is, whether the factory-self share is inside its cap, or why the KR2 number reads unmeasured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description reinforces this with 'Read-only.' Beyond that, it adds valuable behavioral context: the cap mechanism (factory-self credited at most a fifth) and that the result feeds the factory_landings_aligned_pct_28d KR measure source. This goes beyond the annotations without contradicting them.

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?

The description is dense but every clause earns its place by explaining a metric, a cap rule, additional outputs, or usage triggers. The standalone 'Read-only.' is redundant given the annotations, and the long single paragraph could be better structured, but there is no fluff and the core purpose is front-loaded.

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 one-parameter read-only tool with no output schema, the description covers the metric definitions, the cap, the additional reported values (raw factory-self share, pre-rule unstamped landings), and the intended use cases. It does not specify an exact return format, but the named output fields give sufficient context for an agent to understand what will be returned.

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 100%: the only parameter, companyId, is already documented as 'FreedomOS company id to act within (you must be a member).' The description only says 'for the current company,' which adds no new parameter-level meaning beyond the schema, so the baseline score of 3 is appropriate.

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 defines the tool as a census of KR2 alignment over stamped builder landings, naming the specific metric (landings_aligned_pct_28d) and its components. It is distinct from sibling tools like get_factory_floor or get_okrs by describing a specific factory-alignment metric, though it relies heavily on domain jargon and does not explicitly contrast with alternatives.

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?

The description gives explicit use cases: 'when the operator or the okr-health sweep asks how aligned the factory's output is, whether the factory-self share is inside its cap, or why the KR2 number reads unmeasured.' This is clear contextual guidance, but it does not mention when not to use it or point to alternative tools, so it stops short of a 5.

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