Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

council_estimate

Read-onlyIdempotent

Estimate the token cost of an AI-council debate over a roadmap, diff, prompt, or file set without network calls or billing. Use it to decide whether to authorize a real council run.

Instructions

Estimate the token cost of an AI-council debate over a given input (roadmap, diff, prompt, or file set) without spending — no network call, no billing. Use before deciding whether to authorize a real council run.

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": {
      "input_path": "<input_path>"
    },
    "name": "council_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoCouncil depth tier to estimate for. Defaults to the configured default depth.
input_pathYesPath to the roadmap, diff, or file to estimate council cost for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv8.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real value beyond that with 'no network call, no billing' — a concrete cost/side-effect guarantee an agent could not infer from the hints alone. What is missing is the nature of the estimate itself (rough vs. exact, what fields it returns), which matters for a tool whose whole output is a number.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and resource, then the cost-free guarantee, then the usage trigger. Every clause carries distinct information and nothing is repeated from the schema or annotations.

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 two-parameter read-only tool with full schema coverage and complete annotations, the description covers purpose, safety, and usage trigger. The one residual gap is the shape of the returned estimate, which no output schema supplies; a brief note on what the estimate contains would make it complete.

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 both parameters are fully documented in the schema, which sets the baseline at 3. The description reinforces the meaning of input_path by listing accepted input kinds, but says nothing about the depth enum or what shallow vs. deep implies for the estimate.

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?

States a specific verb and resource: 'Estimate the token cost of an AI-council debate,' and scopes the accepted inputs (roadmap, diff, prompt, or file set). No sibling tool in the list performs cost estimation, so no in-catalog disambiguation is needed, and the parenthetical input list removes ambiguity about what 'input' means.

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?

'Use before deciding whether to authorize a real council run' gives clear when-to-use guidance tied to a concrete decision point. It stops short of explicit when-not-to-use guidance or naming a cataloged alternative, but the trigger condition is unambiguous.

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