Skip to main content
Glama
Tetragon
by wckdboy

get_family_usage

Count family instances across workspace projects or one project to see how many use the current revision, lag behind, or have no revision.

Instructions

Count family instances across the workspace's projects (or one project): per project, how many follow the family's current revision, lag behind it, or carry no revision.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_family_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
family_idNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the conceptual output structure (per-project counts split by revision status), which is real added value, but it says nothing about what happens when family_id is omitted, whether deleted instances are included, permissions, or result size limits.

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?

A single dense sentence that front-loads the action and immediately qualifies the scope, with zero filler. Slightly harder to parse than two short sentences would be, 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?

For a simple read-only counting tool with no output schema and no annotations, the description covers the essential concept and the shape of the result. The unresolved null-default semantics and the absence of any result-format hint leave meaningful gaps.

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 for both parameters. It implicitly explains project_id (workspace-wide vs one project) and family_id (the family whose current revision anchors the comparison), but it never states what the null default for family_id means — whether the tool then counts every family or fails.

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 states a specific verb (count) and resource (family instances) and further specifies the breakdown by revision status (current, lagging, no revision), which is more than a restatement of the name. It is clear against siblings like get_family or family_history, though it does not explicitly name those alternatives.

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

Usage Guidelines3/5

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

The parenthetical '(or one project)' implies the scoping choice but never states when an agent should scope to a single project versus the whole workspace, nor does it name any alternative tool for related questions. Usage is implied rather than prescribed.

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