Skip to main content
Glama

Analyze Identity

analyze_identity
Idempotent

Queue an immediate re-scoring of an identity. Use this after editing an analyzer, config, dataset, or mapping to see the effect on a specific identity without waiting for the 10-minute background spawner. Returns true if queued, false if the identity is not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTracked identity id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

It discloses that the operation queues work rather than blocking, explains the true/false return semantics including the not-found case, and notes the 10-minute background spawner context. This supplements the idempotent and non-destructive annotations without contradicting them.

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-load the action and trigger context, then state the exact return values. There is no filler or repeated schema content.

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 one-parameter tool with no output schema, the description covers triggering, use case, and return values adequately. It could be more complete by pointing to get_identity_analysis for retrieving the re-scored result, since the tool itself only confirms queuing.

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?

The schema already provides 100% coverage for the single id parameter ('Tracked identity id.'), so the baseline applies. The description adds only that the id refers to a tracked identity and that an unknown id yields false, which is return behavior rather than new parameter detail.

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 action ('Queue an immediate re-scoring') and a clear resource ('an identity'), and explains why it exists: to see the effect of edits without waiting for the background spawner. This clearly separates it from read-only sibling tools like get_identity_analysis and get_identity_history.

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?

It explicitly states when to use it: after editing an analyzer, config, dataset, or mapping. It does not name an alternative tool or state when not to use it, so it stops short of full routing guidance.

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.