Skip to main content
Glama
AiAgentKarl

agent-insurance-mcp-server

by AiAgentKarl

agent-insurance-mcp-server

MCP server for AI agent transaction insurance and escrow — protect agent-to-agent payments with smart escrow, dispute resolution, and risk scoring.

PyPI version License: MIT

What it does

When AI agents transact with each other — paying for data, code, analysis, or content — there's no guarantee of delivery. This server adds a trust layer:

  1. Buyer agent creates an escrow → funds are locked

  2. Seller agent completes the task

  3. Buyer agent releases escrow → seller receives payment

  4. If something goes wrong → dispute opens, auto-verdict runs

Related MCP server: trust-mcp

Tools (11)

Tool

Description

create_escrow

Lock funds between buyer/seller agent for a task

release_escrow

Release funds after task completion (success/partial)

open_dispute

Open a dispute if something goes wrong

get_insurance_quote

Get risk score + premium before transacting

process_claim

Resolve a dispute (buyer_wins/seller_wins/split)

get_escrow_status

Check current status and all details of an escrow

get_insurance_info

System stats: active escrows, disputes, protected amounts

list_escrows

NEW Browse and filter all escrows (by status, agent, etc.)

get_agent_history

NEW Full transaction history + trust score for any agent

auto_resolve_expired

NEW Automatically resolve expired escrows (buyer refund)

insurance_analytics

NEW System analytics: volume, risk distribution, top agents

Installation

pip install agent-insurance-mcp-server

Claude Desktop Configuration

{
  "mcpServers": {
    "agent-insurance": {
      "command": "agent-insurance-mcp-server"
    }
  }
}

Example Usage

# 1. Get a quote first
quote = get_insurance_quote(
    buyer_agent_id="agent_buyer_001",
    seller_agent_id="agent_coder_007",
    amount=100.0,
    task_type="code"
)
# → risk_score: 35, premium: 2.8%, premium_amount: 2.80

# 2. Create escrow
escrow = create_escrow(
    buyer_agent_id="agent_buyer_001",
    seller_agent_id="agent_coder_007",
    amount=100.0,
    task_description="Build a REST API endpoint for user authentication",
    deadline_hours=48
)
# → escrow_id: "escrow_abc123def456", status: "active"

# 3a. Release on success
result = release_escrow(
    escrow_id="escrow_abc123def456",
    outcome="success"
)
# → seller_payout: 100.0, buyer_refund: 0.0

# 3b. Or open a dispute
dispute = open_dispute(
    escrow_id="escrow_abc123def456",
    reason="Task not delivered as agreed — API is missing auth logic"
)
# → auto_verdict: "buyer_favored", buyer_protection: 80%

# 4. Check agent trust (NEW in v0.2.0)
history = get_agent_history(agent_id="agent_coder_007")
# → trust_score: 72, completion_rate: 90%, dispute_rate: 5%

How Risk Scoring Works

  • Base risk: 30 points

  • Seller dispute history: +0-40 points based on past disputes

  • Transaction size: +5-15 points for large amounts

  • Experience bonus: -2 points per completed escrow (max -20)

  • Premium range: 1-5% of transaction amount

Changelog

v0.2.0 (April 2026)

  • 4 new tools: list_escrows, get_agent_history, auto_resolve_expired, insurance_analytics

  • Agent trust scoring (0-100) based on transaction history

  • Expired escrow auto-resolution with buyer refund

  • System-wide analytics (volume, risk distribution, top agents)

  • 11 tools total (up from 7)

v0.1.0

  • Initial release with 7 core tools

License

MIT — built by AiAgentKarl

Available Tools

11 tools
auto_resolve_expiredA

Automatically resolve all expired escrows.

Escrows past their deadline are resolved in favor of the buyer (full refund), since the seller failed to deliver on time. Run this periodically to keep the system clean.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

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

Without annotations, the description carries full burden. It discloses the resolution behavior (refund to buyer) and reason, but lacks details on side effects, idempotency, or error scenarios.

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?

The description is three sentences, each adding value: purpose, behavior, usage. No redundant words, effectively front-loaded.

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?

Given zero parameters and no output schema, the description adequately covers purpose, behavior, and usage. It could mention return value, but not critical for a maintenance 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?

The tool has zero parameters, and schema coverage is 100%. Per guidelines, baseline is 4. The description adds no parameter info, which is acceptable.

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 action 'automatically resolve all expired escrows' and provides a specific resource. It distinguishes from sibling tools like create_escrow or release_escrow, which handle active escrows.

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 explicitly recommends periodic execution to maintain system cleanliness, providing clear when-to-use guidance. It does not mention when not to use, but for a maintenance tool this is sufficient.

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

create_escrowA

Erstellt einen neuen Escrow fuer eine Agent-Transaktion.

Sperrt den angegebenen Betrag sicher zwischen Buyer und Seller Agent. Der Betrag wird erst freigegeben, wenn die Aufgabe abgeschlossen ist oder ein Streitfall geloest wurde. Risikobasierte Praemie wird berechnet.

Args: buyer_agent_id: ID des zahlenden Agents (z.B. 'agent_weather_v2') seller_agent_id: ID des leistungserbringenden Agents (z.B. 'agent_code_gen') amount: Betrag der abzusichernden Transaktion (z.B. 50.0) task_description: Beschreibung der zu erbringenden Leistung deadline_hours: Frist in Stunden bis zur automatischen Aufloesung (1-720, Standard: 24)

ParametersJSON Schema
NameRequiredDescriptionDefault
amountYes
buyer_agent_idYes
deadline_hoursNo
seller_agent_idYes
task_descriptionYes

TDQS

A3.9/5.0
Behavior4/5

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

The description discloses key behavioral traits: funds are locked until completion or dispute resolution, and a risk-based premium is calculated. This goes beyond a simple mutation statement, although permissions and error handling are not mentioned. With no annotations, this provides good transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (approx. 7 lines plus Args) and well-structured with a clear purpose paragraph followed by parameter details. No redundant information, though the Args section could be integrated more tightly.

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?

Given no output schema and no annotations, the description covers the tool's purpose, parameters, and core behavior. It lacks specification of the return value (e.g., escrow ID) and prerequisites, but is otherwise fairly complete for a creation 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?

Schema description coverage is 0%, so the description must compensate. It includes an Args section with each parameter's purpose and example values (e.g., buyer_agent_id: 'agent_weather_v2'). This adds significant meaning beyond the schema titles, though not exhaustive.

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 creates an escrow for agent transactions, with specific verb "Erstellt" and resource "Escrow fuer eine Agent-Transaktion". It explains the core function and is distinct from sibling tools like get_escrow_status or list_escrows.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs alternatives. The description does not provide context for when this tool should be selected over other escrow-related tools like open_dispute or release_escrow.

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

get_agent_historyA

Get full transaction history and trust metrics for an agent.

Shows all escrows (as buyer and seller), dispute rate, completion rate, average quality score, and a computed trust score (0-100). Useful for evaluating agent reliability before transacting.

Args: agent_id: ID of the agent to check (e.g. 'agent_weather_v2')

ParametersJSON Schema
NameRequiredDescriptionDefault
agent_idYes

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided; the description explicitly lists what the tool returns (escrows, dispute rate, completion rate, quality score, trust score), offering transparency about its behavior.

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?

The description is concise and well-structured: a clear summary sentence, followed by bullet points of output fields, usage guidance, and parameter details, 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?

The tool is simple with one parameter and no output schema, but the description fully covers its functionality and use case, making it complete for agent usage.

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?

The description adds meaning to the required parameter 'agent_id' by providing a type and example ('e.g., agent_weather_v2'), compensating for 0% schema description coverage.

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 retrieves full transaction history and trust metrics for an agent, distinguishing it from sibling tools like get_escrow_status or list_escrows.

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 provides context for when to use ('evaluating agent reliability before transacting') but does not explicitly state when not to use or mention alternatives.

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

get_escrow_statusA

Gibt den aktuellen Status und alle Details eines Escrows zurueck.

Zeigt Betrag, Parteien, Frist, Risiko-Score und alle Auszahlungsdetails. Erkennt abgelaufene Escrows automatisch.

Args: escrow_id: ID des Escrows (z.B. 'escrow_abc123def456')

ParametersJSON Schema
NameRequiredDescriptionDefault
escrow_idYes

TDQS

A3.9/5.0
Behavior3/5

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

The description adds a behavioral trait: it automatically detects expired escrows. However, with no annotations provided, it does not disclose whether the tool is read-only or requires specific permissions, leaving some behavioral ambiguity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with a clear structure: purpose, output details, behavior note, and parameter explanation. No redundant information.

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?

Given the simple tool with one parameter and no output schema, the description adequately covers what the tool returns and a key behavioral aspect. It could elaborate on the response format, but the listed output items suffice for usability.

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?

The description includes an Args section for the escrow_id parameter with an example format ('escrow_abc123def456'), which adds meaningful context beyond the schema's minimal title. Schema description coverage is 0%, so the description compensates well.

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 explicitly states it returns the current status and all details of an escrow, including specific items like amount, parties, deadline, risk score, and payout details. This clearly distinguishes it from sibling tools like create_escrow or list_escrows.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description describes what the tool does but does not provide explicit guidance on when to use it versus alternatives, nor does it state exclusion criteria. The usage is implied for retrieving a single escrow's details.

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

get_insurance_infoA

Gibt Systeminformationen und Statistiken ueber das Insurance-System zurueck.

Zeigt Gesamtanzahl der Escrows, aktive Disputes, geschuetzte Betraege und verfuegbare Tools. Nuetzlich fuer einen Ueberblick ueber das System.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. It describes return content (stats list) but does not disclose rate limits, authentication needs, or other behavioral traits. Since operation is read-only and simple, the disclosure is adequate but minimal.

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 concise sentences in German: the first states purpose, the second details content. No filler, front-loaded with key verb 'returns system information'.

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?

Given the tool has no parameters and no output schema, the description covers the main return items. It omits potential details like response format or update frequency, but for a simple overview tool it is reasonably complete.

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?

No parameters exist; schema coverage is 100%. Baseline for zero params is 4. The description adds no param info, which is acceptable as there are none to describe.

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 returns system information and statistics about the insurance system, listing specific data (escrows, disputes, amounts, tools). This distinguishes it from sibling tools that handle individual operations.

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 notes the tool is useful for an overview, implying it's for high-level checks rather than detailed operations. However, it does not explicitly state when not to use it or list alternatives, missing full exclusion guidance.

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

get_insurance_quoteA

Erstellt eine Versicherungsquote vor einer Agent-Transaktion.

Berechnet den Risiko-Score und die Praemie fuer eine geplante Transaktion. Empfohlen vor jeder create_escrow-Anfrage um die Kosten zu kennen.

Args: buyer_agent_id: ID des Buyers seller_agent_id: ID des Sellers amount: Geplanter Transaktionsbetrag task_type: Art der Aufgabe ('general', 'code', 'data', 'content', 'analysis')

ParametersJSON Schema
NameRequiredDescriptionDefault
amountYes
task_typeNogeneral
buyer_agent_idYes
seller_agent_idYes

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool calculates risk score and premium but does not clarify if it is read-only, idempotent, or requires specific permissions. The lack of side-effect disclosure is a gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a brief English title, a clear statement of purpose, a recommendation, and a parameter list. It is concise with no unnecessary words, though the title line could be considered redundant given the tool name.

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

Completeness2/5

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

The description fails to explain the return value or output structure despite the tool being primarily used to inform about costs. Without an output schema, the agent has no idea what the quote contains. Additionally, it does not address error handling or validation, making the definition incomplete for effective use.

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?

Schema description coverage is 0%, but the description adds meaningful one-line explanations for each parameter and enumerates allowed values for task_type. While helpful, it could provide more detail (e.g., what the IDs represent, amount constraints) to fully compensate for the schema's lack of descriptions.

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's purpose: creating an insurance quote before an agent transaction, calculating risk score and premium. It also distinguishes itself from siblings by recommending usage before create_escrow requests, which is a distinct action from other tools like get_insurance_info or open_dispute.

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 explicitly recommends using this tool before every create_escrow request, providing clear context for its use. However, it does not mention when not to use it or compare it to alternatives like get_insurance_info, so it lacks full exclusion guidance.

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

insurance_analyticsA

Get detailed analytics about the insurance system.

Shows volume trends, top agents by volume, risk distribution, dispute rates, quality scores, and status breakdown. Useful for monitoring system health and agent economy trends.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It implies read-only behavior with 'Get', but does not explicitly state lack of side effects, permissions, rate limits, or data freshness. The description lists what is shown but not the output format, which is important given no output schema.

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?

The description is concise (four sentences) and front-loaded with the core purpose. Each sentence adds information without redundancy.

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

Completeness3/5

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

Given zero parameters and no output schema, the description lacks details on the return format (e.g., JSON structure). While it lists content, agents may struggle to parse the result without explicit output schema. Additional details on data representation would improve completeness.

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?

There are zero parameters, so baseline is 4. The description adds value by enumerating the types of analytics returned, which compensates for the empty schema and helps the agent understand what the tool provides.

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's purpose: 'Get detailed analytics about the insurance system.' It enumerates specific analytics provided (volume trends, top agents, risk distribution, etc.), distinguishing it from sibling tools that perform specific actions like creating escrows or processing claims.

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 usage context: 'Useful for monitoring system health and agent economy trends.' However, it does not explicitly state when not to use this tool or suggest alternatives, which would improve guidance.

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

list_escrowsA

List and filter all escrows in the system.

Browse all escrow transactions with optional filters. Shows escrow ID, status, parties, amount, and risk score. Expired escrows are automatically detected.

Args: status: Filter by status ('active', 'released', 'disputed', 'expired', 'claim_resolved'). Empty string returns all escrows. agent_id: Filter by agent ID (matches buyer OR seller). Empty = all agents. limit: Maximum results to return (1-100, default: 20)

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
statusNo
agent_idNo

TDQS

A4.4/5.0
Behavior4/5

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

Discloses that expired escrows are automatically detected and mentions return fields (ID, status, parties, amount, risk score). No annotations exist, so description carries full burden; it is mostly transparent but could mention pagination or read-only nature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Seven sentences, front-loaded with main purpose. Some redundancy between first two sentences, but overall concise and structured. Every sentence adds value.

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?

Given no output schema and 0% schema description coverage, the description covers parameter behavior and return fields adequately. Could mention if results are paginated or sorted, but sufficient for a listing tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by explaining each parameter: status enum values, agent_id matching both buyer/seller, limit range (1-100) and default (20). Adds meaning well beyond bare 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?

Clear verb 'list' and resource 'escrows'. Description states it lists all escrows with optional filters, distinguishing it from sibling tools that perform specific actions like create or release escrows.

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?

Implies usage for browsing all escrows with filters, but lacks explicit when-to-use vs alternatives. The sibling tool list makes it clear this is for listing, but no direct exclusions are stated.

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

open_disputeA

Eroeffnet einen Streitfall fuer einen Escrow.

Startet einen automatischen Bewertungsprozess und setzt den Escrow auf 'disputed'. Die automatische Erstbewertung basiert auf Schluesselwoertern in der Begruendung.

Args: escrow_id: ID des bestrittenen Escrows reason: Begruendung fuer den Streitfall (z.B. 'Task not delivered as agreed') evidence: Optionale Beweise oder Details (z.B. API-Responses, Logs)

ParametersJSON Schema
NameRequiredDescriptionDefault
reasonYes
evidenceNo
escrow_idYes

TDQS

A3.9/5.0
Behavior4/5

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

In the absence of annotations, the description reveals key behavioral traits: it starts an automatic keyword-based evaluation and modifies the escrow status to 'disputed'. However, it does not disclose reversibility, side effects, or post-evaluation steps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded with the primary action. The args list is structured but could be more streamlined. No unnecessary repetition.

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

Completeness2/5

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

The description lacks information about return values, error conditions, or prerequisites (e.g., escrow must be in a specific state). Given no output schema, this is a notable gap for agent decision-making.

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?

With 0% schema description coverage, the description effectively explains each parameter's purpose: escrow_id as the disputed escrow ID, reason as justification with an example, and evidence as optional details. This adds significant meaning 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 it opens a dispute for an escrow, starts an automatic evaluation, and sets the status to 'disputed'. The verb 'open' and resource 'dispute for escrow' are specific and distinguish it from sibling tools like auto_resolve_expired or release_escrow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use (to dispute an escrow) but does not explicitly state when not to use or provide alternatives. It lacks guidance for agents to choose between this and other dispute-related tools like process_claim.

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

process_claimA

Verarbeitet einen Schadensfall und schliesst den Streitfall.

Loest einen offenen Dispute auf und verteilt den Escrow-Betrag gemaess der Entscheidung. Benoetigt manuelle Eingabe nach Pruefung der Beweise.

Args: dispute_id: ID des zu loesenden Streitfalls resolution: Entscheidung ('buyer_wins', 'seller_wins', 'split') buyer_pct: Prozentsatz fuer den Buyer bei 'split'-Entscheidung (0-100, Standard: 50)

ParametersJSON Schema
NameRequiredDescriptionDefault
buyer_pctNo
dispute_idYes
resolutionYes

TDQS

A3.8/5.0
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions the action is manual and requires evidence review, but lacks details on side effects, permissions, reversibility, or state changes (e.g., closing dispute permanently).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description mixes German and English, leading to redundancy and slightly awkward flow. While informative, it could be more concise and structured with cleaner language separation.

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

Completeness3/5

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

The description covers parameter details and manual workflow hint, but lacks return value info, prerequisites (e.g., dispute status), and error conditions. Adequate for a simple tool but incomplete without output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description provides complete parameter documentation: meaning of dispute_id, enum values for resolution, and range/default for buyer_pct. This adds significant value beyond the 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 resolves an open dispute and distributes escrow funds. It explicitly distinguishes from siblings like auto_resolve_expired by requiring manual input after evidence review.

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 implies manual use after evidence review, providing context but not explicitly stating when to use vs alternatives like auto_resolve_expired. No direct exclusions or comparisons.

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

release_escrowB

Gibt den Escrow frei und zahlt den Seller aus.

Beendet einen aktiven Escrow nach Abschluss der Aufgabe. Bei 'success' erhaelt der Seller den vollen Betrag. Bei 'partial' wird anteilig nach quality_score ausgezahlt.

Args: escrow_id: ID des freizugebenden Escrows (z.B. 'escrow_abc123def456') outcome: Ergebnis der Transaktion ('success' oder 'partial') quality_score: Qualitaet der Leistung von 1-10 (nur bei 'partial' relevant, Standard: 8)

ParametersJSON Schema
NameRequiredDescriptionDefault
outcomeYes
escrow_idYes
quality_scoreNo

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description bears full burden. It discloses payment behavior (full vs. partial) but lacks information on side effects, permissions, reversibility, or error states. This is insufficient for a financial action tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the main action but contains redundancy (e.g., repeating payment conditions for success/partial). Could be more concise without losing clarity.

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

Completeness2/5

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

No output schema is provided, and the description omits return values, error handling, or prerequisites (e.g., escrow must be active, not disputed). This leaves gaps for an agent to invoke safely.

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?

With 0% schema description coverage, the description adds significant value: it explains escrow_id format, outcome valid values (success/partial), quality_score range (1-10) and default (8), and context-sensitivity. Slightly verbose but informative.

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's purpose: releasing escrow and paying the seller. It differentiates between 'success' and 'partial' outcomes, and the verb 'release' plus object 'escrow' is specific. It distinguishes from siblings like create_escrow and open_dispute.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage after task completion and explains outcome options, but does not explicitly state when not to use it or compare to alternatives like open_dispute. The guidelines are implicit, not explicit.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 11 tool updatesv0.2.0
    • First observedauto_resolve_expired
    • First observedcreate_escrow
    • First observedget_agent_history
    • First observedget_escrow_status
    • First observedget_insurance_info
    • First observedget_insurance_quote
    • First observedinsurance_analytics
    • First observedlist_escrows
    • First observedopen_dispute
    • First observedprocess_claim
    • First observedrelease_escrow

TDQS

A4/5.0
Disambiguation5/5

All 11 tools have clearly distinct purposes: creating escrows, releasing them, handling disputes, auto-resolving expired ones, checking status, getting quotes, viewing history, analytics, etc. No two tools overlap in function.

Naming Consistency4/5

Most tools follow a verb_noun pattern (create_escrow, get_agent_history, open_dispute, etc.), but 'insurance_analytics' breaks the pattern (should be get_analytics). Additionally, descriptions are mixed English and German, but names are consistently snake_case.

Tool Count5/5

11 tools is well-scoped for an entity insurance / escrow system. Each tool covers a necessary action (create, release, dispute, claim, auto-resolve, status, listings, quotes, history, analytics, system info) without bloat.

Completeness4/5

The tool set covers the full lifecycle: creation, release, dispute, claim resolution, auto-resolution, and supporting functions (quotes, history, analytics). Missing perhaps an explicit 'cancel' or 'modify' tool, but the core workflows are complete.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for AI agent trust verification, enabling agents to verify identities, check trust scores, and build reputation across multiple blockchain and web platforms.
    12
    24
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server that enables AI agents to verify each other's trust scores, register, submit reviews, and find trusted agents before transacting.
    4
    24
    MIT

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/AiAgentKarl/agent-insurance-mcp-server'

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