Skip to main content
Glama

escalate_to_human

Destructive

Hand off an in-flight task to a human operator with a full context bundle: transcript, prior actions, identifiers, and a recommended next step.

EXAMPLE USER QUERIES THAT MATCH THIS TOOL: user: "I'm stuck — get a human at smb_xyz to call me back" -> call escalate_to_human({"smb_id": "smb_xyz", "reason": "automation_failed", "context": {"original_operation": "schedule_appointment", "recommended_next_step": "Call the business directly to confirm the slot"}, "priority": "urgent"})

WHEN TO USE: Use when automated resolution has failed after channel-fallback exhaustion, when the task requires human judgment, or when the customer has explicitly requested human contact. WHEN NOT TO USE: Do not use as a first resort. Escalate only after automated resolution attempts. COST: $0.2 per_call LATENCY: ~2000ms EXECUTION: async_by_default (use get_outcome to retrieve result)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes
smb_idYes
contextYes
priorityNonormal
idempotency_keyNoOptional client-supplied key for safe retries. Replaying the same key within 24h returns the original receipt - the operation is NOT re-executed and NOT re-charged.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations provide readOnlyHint=false, idempotentHint=false, and destructiveHint=true, which the description does not contradict. The description adds genuinely useful behavioral context beyond the annotations: COST ($0.2/call), LATENCY (~2000ms), and especially EXECUTION: async_by_default with instruction to use get_outcome for the result. However, it never explains the irreversible/destructive aspect flagged by destructiveHint=true (what handing off permanently changes), so it doesn't fully leverage the annotation signal.

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 one-sentence core purpose is front-loaded, followed by clearly labeled sections (example, when to use, when not to use, cost, latency, execution) that each earn their place. It is longer than the minimal get_calls example, but every section adds decision-relevant information rather than filler, and the headers make it scannable.

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 moderately complex tool (5 params, nested context object, no output schema), the description covers the core action, the context bundle contents, when to use it, and how to retrieve the async result via get_outcome. Since there is no output schema, the description need not explain return values. The main gap is that the destructive implications and per-parameter semantics are not elaborated, but the overall usage picture is sufficiently complete for an agent to call this correctly.

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 only 20% (only idempotency_key has schema-level docs), so the description carries the burden for the other four parameters. The example call demonstrates smb_id, reason, context, and priority usage in a realistic structure, which is helpful, but it does not explain the meaning of each parameter beyond what the schema enumerations already show. The context object's nested fields are left entirely to the schema. The example partially compensates for the coverage gap but not fully.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Hand off') and resource ('an in-flight task to a human operator'), plus the makeup of the context bundle (transcript, prior actions, identifiers, recommended next step). This clearly distinguishes escalation from siblings like call_business or send_message, which perform automated actions. It stops short of explicitly naming a sibling to differentiate against, so it doesn't reach a 5.

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 WHEN TO USE / WHEN NOT TO USE sections give explicit conditions ('after channel-fallback exhaustion', 'requires human judgment', 'customer has explicitly requested human contact') and an explicit exclusion ('Do not use as a first resort... only after automated resolution attempts'). This is strong guidance, though it frames alternatives by condition rather than by naming specific sibling tools, so it falls just below the top tier.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools target distinct resource+action pairs (find_business vs verify_business, check_booking_link vs import_booking_url, get_status vs get_outcome). The main confusable pairs are send_message vs send_transactional_confirmation and verify_business vs verify_company_record, but their descriptions draw clear boundary lines.

Naming Consistency4/5

The set overwhelmingly follows lower_snake_case verb_noun naming (call_business, check_quota, find_business, send_message, verify_company_record). Minor deviations like self_test and mint_key, plus inconsistent verb choices (lookup_ vs get_ vs find_), prevent a perfect score.

Tool Count3/5

At 23 tools, the server falls into the heavy range and bundles several unrelated domains: SMB booking/messaging, trade and sanctions compliance, company verification, and platform operations. Each tool is individually reasonable, but the set feels like multiple servers merged into one.

Completeness3/5

Core SMB workflows are well covered: find/verify/import/book, messaging with conversation handling, and compliance preflights. Notable gaps include no consent-record management even though send_message requires consent_record_id for marketing, no update/delete lifecycle for leads or businesses, and no webhook configuration despite webhooks being referenced.