Skip to main content
Glama

score_rubric

Compute a weighted rubric scorecard from agent scores to evaluate code quality across dimensions like architecture, security, and testing, returning pass/fail result.

Instructions

Compute a weighted multi-dimensional rubric scorecard from per-agent advisory scores (0-100). Each agent represents one dimension (Architecture, Security, Testing, etc.) with a default weight; weights can be overridden per-repo via .squad.yaml. Returns weighted_score, per-dimension breakdown, pass/fail vs threshold (default 75), and a pre-formatted ASCII scorecard. Renormalises across agents that actually scored, so a partial advisory pass produces a meaningful score.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoresYes
weightsNo
thresholdNo
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: expects scores 0-100, default weights, renormalisation across active agents, returns weighted_score, per-dimension breakdown, pass/fail vs default threshold 75, and ASCII scorecard. No contradictions.

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?

Three sentences: first states core purpose, second adds weight/threshold details, third explains renormalisation and outputs. Every sentence adds value, no redundancy, front-loaded with purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 parameters, no output schema, and nested objects, the description covers inputs (scores, weights, threshold), behavior (weighting, renormalisation), and outputs (weighted_score, breakdown, pass/fail, ASCII card). It handles the partial advisory pass special case, making it complete for an agent selecting this tool.

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?

Despite 0% schema description coverage, the description adds meaning by explaining each dimension corresponds to an agent, scores are 0-100, weights have defaults overridable via .squad.yaml, and threshold defaults to 75. It could detail the weights object structure (only allowed agent names) but provides substantial semantic value beyond the raw schema.

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 description clearly states the tool computes a weighted multi-dimensional rubric scorecard from per-agent advisory scores, distinguishing it from sibling tools like score_risk by focusing on rubric scoring with multiple dimensions and pass/fail threshold.

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 provides context on when to use (computing scorecard from per-agent scores) and explains key features like default weights, overridable weights, and renormalisation. However, it does not explicitly state when not to use or mention alternative tools, though the context is sufficient for most use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ggemba/squad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server