evaluate_exception
Evaluate one record for domain-specific exceptions and revenue/workflow risk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record_json | Yes | ||
| context_json | No | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Evaluate one record for domain-specific exceptions and revenue/workflow risk.
| Name | Required | Description | Default |
|---|---|---|---|
| record_json | Yes | ||
| context_json | No | {} |
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of disclosing side effects. It does not explicitly state whether the operation is read-only or if it modifies any state. The term 'evaluate' implies a non-destructive analysis, but this is not confirmed. No contradictions exist, but more transparency would be beneficial.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence with no unnecessary jargon or repetition. It effectively communicates the core purpose without verbosity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description does not indicate what the tool returns (e.g., a risk score, a list of exceptions, a boolean), even though an output schema is noted. It also lacks context on how the 'context_json' parameter is used or what domain-specific exceptions entail. This incompleteness leaves the agent without sufficient information to correctly invoke and interpret results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema includes 'record_json' and 'context_json' but provides no descriptions. The tool's description mentions 'record' and 'domain' but does not explain what data these parameters should contain, their format, or how they influence the evaluation. Since schema coverage is 0%, the description fails to compensate for the lack of parameter details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool 'Evaluate one record for domain-specific exceptions and revenue/workflow risk,' providing a specific verb (evaluate) and resource (record) with a defined purpose. It distinguishes itself from a generic catalog tool, though it could be more specific about what constitutes an exception or risk.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. There is no mention of typical use cases, prerequisites, or conditions under which this evaluation is appropriate. The description lacks any 'when-to-use' or 'when-not-to-use' information, making it ambiguous for an agent to choose this tool over others.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.