Skip to main content
Glama

prompt_effectiveness

Calculates success rate, average duration, and top failure reasons for Agent templates to identify prompt improvement opportunities.

Instructions

Return effectiveness statistics for Agent templates.

Aggregates activity records to compute success rate, average duration, and top failure reasons per template. Also shows how many failure alchemy lessons are associated with each template.

Use this to identify which Agent templates perform well and which need prompt improvement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_nameNoOptional filter (e.g. "engineering-backend-architect"). Leave empty to return stats for all templates.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, description carries full burden. It discloses aggregation of activity records to compute success rate, average duration, top failure reasons, and associated failure alchemy lessons. Does not mention data freshness or performance, but is transparent about computed outputs.

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 concise paragraphs: first states purpose, second lists computed statistics, third gives usage guidance. Well-structured and front-loaded with no wasted words.

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 the tool has a single optional parameter and an output schema, the description provides sufficient context for an agent to understand what the tool does without needing additional details about return values.

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 the parameter is already well-documented in the schema. The tool description adds no additional parameter context beyond what the schema provides, resulting in baseline score of 3.

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?

Description clearly states 'Return effectiveness statistics for Agent templates' with specific verb and resource. It distinguishes from siblings like agent_activity_query (raw activity) and agent_template_list (list templates) by focusing on computed statistics.

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?

Explicitly says 'Use this to identify which Agent templates perform well and which need prompt improvement.' Provides clear context for when to use, though doesn't explicitly mention when not to use or name alternatives.

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/CronusL-1141/AI-company'

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