Skip to main content
Glama

Quote an Errands call

quote_call_task
Read-onlyIdempotent

Read-only price check for an Errands brief. Returns the per-minute price from the call rate sheet (including the AI minute), the caller ID that would be shown, and the most the call could cost at max_call_minutes. The default price for a Widely account's number is the Widely call. Set native true only to price the mobile or landline rate. It does not dial, schedule, save, hold or charge anything. It returns 'refused' when there is no rate, the number is emergency or premium-rate, or the brief is marketing. It returns 'consent_required' if the user has not accepted the Errands terms. A bad brief lists every missing and invalid field at once.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "destination": "<destination>",
      "callee_name": "<callee_name>",
      "goal": "<goal>",
      "on_behalf_of": "<on_behalf_of>",
      "purpose_category": "<purpose_category>",
      "success_criteria": "<success_criteria>"
    },
    "name": "quote_call_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesThe outcome you want, in one or two sentences.
intentNoOptional. Why you are calling, in one sentence. If you leave it out, the opening line is used, then who the call is for.
limitsNo
nativeNoDefault false. When this number belongs to a Widely account, the call rings their Widely app. Set true only when the caller asked for the mobile or landline network instead.
callbackNo
languageNoBCP-47 such as en-GB or he-IL, or auto-from-seat.
forbiddenNoThings the assistant must not say or agree to.
ivr_hintsNoPhone menu hints, e.g. 'choose imports'.
voicemailNoOn voicemail: leave_message (default), hang_up_and_retry (uses limits.retry), or hang_up.leave_message
escalationNo
if_unknownNoWhat to do when asked something the brief does not cover.say_will_check_back
time_limitNoOptional. Minutes the assistant has for this call. If you leave it out, limits.max_call_minutes is used when that is set, otherwise 5.
callee_nameYesWho you are calling, e.g. 'FedEx UK Import Clearance' or 'Dr Cohen's clinic'.
destinationYesNumber to call, E.164 (+44…, +972…, +1…) or local. Emergency and premium-rate numbers are refused.
schedule_atNoWhen to call, ISO date-time, at most 14 days ahead. Omit it to call now.
time_windowNoOptional calling window, at least 10 minutes long and within 14 days. The call is placed inside it.
connect_userNoOmit or false and the assistant handles the call alone. true: at the end the assistant asks the callee to hold, your phones ring, and the assistant leaves. "monitor": your phones ring when the callee answers so you can listen. You stay silent. Press * to take over. Press # to cancel the call. Hang up to stop listening; the assistant stays on the call.
on_behalf_ofYesWho the call is for. person is required.
opening_lineNoOptional. What to say first, after the assistant introduces itself and plays the mandatory notice.
facts_to_giveNoFacts the assistant may give. Card numbers, CVVs, PINs and passwords are refused.
assistant_nameNoOptional. The name the assistant uses on this call instead of the AI assistant settings name.
save_as_defaultNoWith assistant_name, also save it as the default name in Widely AI assistant settings.
client_referenceNoYour own reference.
facts_to_collectNoQuestions to ask and the information to bring back.
purpose_categoryYesKind of call. Marketing, sales, surveys, debt collection, political and fundraising calls are refused.
success_criteriaYesHow to tell the call worked, e.g. 'they confirm the delivery date'.
voicemail_messageNoOptional. If absent, the assistant leaves a short message from the goal and on_behalf_of, with no sensitive facts.
callee_is_businessNoOptional. True when the callee is a business.
caller_identity_idNoOptional. You may set it. If you omit it, Widely picks the caller ID. If you set it, it must be an identity_id from list_identities, one of the user's own. Never invent another number.
allowed_commitmentsNoThe only things the assistant may agree to, e.g. 'accept any slot Tue–Thu after 14:00'. For anything else it says it will check and come back, and lists it in the report. Payments, contracts and cancellations are never allowed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / connect_user / anyOf
      Added value: +[
      +  {
      +    "default": false,
      +    "type": "boolean"
      +  },
      +  {
      +    "enum": [
      +      "monitor"
      +    ],
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / connect_user / default
      Removed value: -false
    • changedInput schema / properties / connect_user / description
      Previous value: -"When true, the assistant asks the callee to hold at the end, rings the user's phones into the call, and leaves."New value: +"Omit or false and the assistant handles the call alone. true: at the end the assistant asks the callee to hold, your phones ring, and the assistant leaves. \"monitor\": your phones ring when the callee answers so you can listen. You stay silent. Press * to take over. Press # to cancel the call. Hang up to stop listening; the assistant stays on the call."
    • removedInput schema / properties / connect_user / type
      Removed value: -"boolean"
  2. Changed1 schema field changed
    • addedInput schema / properties / native
      Added value: +{
      +  "default": false,
      +  "description": "Default false. When this number belongs to a Widely account, the call rings their Widely app. Set true only when the caller asked for the mobile or landline network instead.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional. Why you are calling, in one sentence. If you leave it out, the opening line is used, then who the call is for.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / time_limit
      Added value: +{
      +  "description": "Optional. Minutes the assistant has for this call. If you leave it out, limits.max_call_minutes is used when that is set, otherwise 5.",
      +  "maximum": 120,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / caller_identity_id / description
      Previous value: -"Optional identity id. Omit it and Widely picks the caller ID the same way the app does."New value: +"Optional. You may set it. If you omit it, Widely picks the caller ID. If you set it, it must be an identity_id from list_identities, one of the user's own. Never invent another number."
  5. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent/destructive annotations: it describes what is returned (per-minute price, caller ID, maximum cost), the two structured failure outcomes ('refused' and 'consent_required') with their triggers, and the validation behavior ('lists every missing and invalid field at once'). This is rich behavioral context an agent can act on.

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?

Front-loaded with the core purpose, then structured into return values, default pricing, exclusions, failure modes, and validation. The length is justified by the 30-parameter surface, though a few sentences (e.g., the native-pricing note) slightly overlap with schema descriptions.

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?

Given a 30-parameter nested schema, no output schema, and rich annotations, the description is complete enough: it explains the output shape, error states, and side-effect boundaries. An agent can call this tool and interpret the result without additional documentation.

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 90%, so the schema already documents almost every parameter thoroughly. The description adds only marginal parameter meaning (e.g., clarifying how native affects pricing and the role of max_call_minutes), but does not compensate for the remaining gaps. Baseline 3 is appropriate.

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?

States a specific verb and resource: 'Read-only price check for an Errands brief.' The scope is clear, but the description never differentiates it from sibling tools such as quote_call or create_call_task, so an agent must infer that this is the quoting step for Errands specifically.

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 makes the use case clear ('price check for an Errands brief') and explicitly lists what it does not do ('does not dial, schedule, save, hold or charge anything'), which helps an agent avoid confusing it with a mutating tool. It stops short of naming an alternative or stating the exact point in the workflow when this should be called versus quote_call.

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.