Skip to main content
Glama

cohort_failures

Read-only

UNDERSTANDING — what a whole market gets WRONG: the agent-readiness checks its members most commonly fail, ranked by what fixing each would move the cohort mean. The inverse of gap_analysis, which says where a market is under-served; this says where it is failing the rubric. Turns "fix your OpenAPI" into "this industry does not publish OpenAPI", which is the shape of a finding worth publishing. Named checks only — facet rollups cannot name the checks underneath them. Priced per result — $0.005 per request plus $0.0002 per record returned (less past 100), capped at $0.50 a request, under pay-as-you-go; included in Understanding and Influence. Estimate first at /api/v1/prices/estimate. See apis://prices.

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": {
      "kind": "<kind>",
      "slug": "<slug>"
    },
    "name": "cohort_failures"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesCohort kind: tag, industry, region, area or vc — says what `slug` names.
pageNoPage number.
slugYesSlug of the cohort within `kind` — a tag, industry, region, area or VC slug, e.g. "payments" with kind "tag".
limitNoResults per page.
contextNoOptional: one sentence on why you are asking. Never used to rank; read only if a result is wrong.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Results per page, 1-100 (default 25)."New value: +"Results per page."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 1-based (default 1)."New value: +"Page number."
  2. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable."New value: +"Optional: one sentence on why you are asking. Never used to rank; read only if a result is wrong."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 1-based (default 1). Use with `limit` to walk a long list."New value: +"Page number, 1-based (default 1)."
  3. Changed4 schema fields changed
    • addedInput schema / properties / kind / description
      Added value: +"Cohort kind: tag, industry, region, area or vc — says what `slug` names."
    • addedInput schema / properties / limit / description
      Added value: +"Results per page, 1-100 (default 25)."
    • addedInput schema / properties / page / description
      Added value: +"Page number, 1-based (default 1). Use with `limit` to walk a long list."
    • addedInput schema / properties / slug / description
      Added value: +"Slug of the cohort within `kind` — a tag, industry, region, area or VC slug, e.g. \"payments\" with kind \"tag\"."
  4. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), yet the description still adds real behavior: tiered per-request and per-record pricing with a $0.50 cap, inclusion in Understanding and Influence plans, and an estimation endpoint. It also discloses a data-shape limitation — facet rollups cannot resolve the named checks — which materially affects result interpretation.

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

Conciseness3/5

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

The purpose and the gap_analysis comparison are front-loaded and earn their place, as does the pricing. However, the rhetorical flourish ('Turns "fix your OpenAPI" into "this industry does not publish OpenAPI"... the shape of a finding worth publishing') spends length on persuasion rather than operational 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?

For a read-only cohort aggregation with no output schema, the description covers purpose, the key alternative, a result-shape caveat, cost, and where to estimate. What is missing is any sense of the returned record fields or ranking scale, which matters because no output schema carries that information.

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%, so kind, slug, page, limit and context are all documented in the schema itself. The description adds no parameter-level detail (e.g. accepted slug formats or reasonable limit choices) beyond implying that results are 'named checks', so the baseline of 3 applies.

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?

The definition names the resource precisely — agent-readiness checks that cohort members most commonly fail, ranked by impact on the cohort mean — and explicitly contrasts with gap_analysis ('where a market is under-served' vs 'where it is failing the rubric'). An agent can distinguish this from gap_analysis without opening either schema.

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 gap_analysis contrast gives clear routing logic for the most plausible confusion, and the pricing/estimate guidance tells the agent to check cost before calling. There is no explicit 'when not to use' for the other cohort_* siblings, but the stated selection condition against the nearest alternative is concrete rather than implied.

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