Skip to main content
Glama

Analyze Agent

analyze_agent
Read-only

Analyze an agent's system prompt structure, identify weaknesses, and get improvement recommendations without running simulations

Input Schema

NameRequiredDescriptionDefault
promptYesThe agent's system prompt content to analyze
promptIdNoOptional agent ID to include historical performance metrics
customerIdNo(Converra superadmin only) Target customer ID to act on behalf of

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered; the description's 'without running simulations' usefully adds that no execution/side effects occur. It does not mention that customerId requires superadmin privileges or what the analysis output contains, so it adds only modest context beyond the annotations.

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?

A single front-loaded sentence with a clear verb, object, and disambiguating clause; no filler or repetition of the title.

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 three-parameter, read-only analysis tool with full schema coverage and no output schema, the description conveys what is analyzed and what kinds of results come back (weaknesses, recommendations). It could say more about how the optional promptId/customerId change the result, but nothing essential to calling it is missing.

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%, and each parameter (prompt, promptId, customerId) is already documented in the schema, including the superadmin note. The description adds no parameter-level meaning beyond what the schema states, so the baseline 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 description names a specific verb ('Analyze'), a specific resource ('an agent's system prompt structure'), and the concrete outputs ('weaknesses', 'improvement recommendations'). The trailing 'without running simulations' also distinguishes it from the sibling simulate_agent at a glance.

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?

'Without running simulations' tells the agent this is a static, non-executing review, which contrasts it with simulate_agent and run-oriented siblings. It stops short of an explicit 'use this instead of X when Y' statement, but the selection context is clear.

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