Skip to main content
Glama

Send my message to the lawyer I picked (needs my yes) (older name)

request_attorney_introduction
DestructiveIdempotent

Older name of send_client_message, kept until 2026-12-15; use send_client_message. Use only when the person asked to contact ONE specific lawyer they picked, has seen the lawyer's name, the exact message and details to be shared and the consent text, and said yes. Never call it on your own initiative or for several lawyers at once. Call preview_client_message first and pass its approval_code: if the recipient or the text changed since the person's yes, it is refused. Stores only the approved fields; retries with the same idempotency_key do not duplicate, and reusing a key for different details is refused. The same rule applies to every listed lawyer. Returns a contact_request_id, its lifecycle_state and a private status token. This is a listing service, not a lawyer referral service. No lawyer pays for placement or ranking of any kind.

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": {
      "attorney_id": "<attorney_id>",
      "state": "<state>",
      "contact": "<contact>",
      "matter_summary": "<matter_summary>",
      "preferred_contact_method": "<preferred_contact_method>",
      "consent": "<consent>"
    },
    "name": "request_attorney_introduction"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesUS state, two-letter code or name, e.g. CA or California
consentYes
contactYes
entry_idNoThe entry_id from start_from_directory_profile, if the user started from a directory listing. Counts the listing visit; carries no personal data.
match_idNo
pending_okNoDeprecated since 2026-11-04 and ignored. Messages no longer wait for anything a lawyer buys.
attorney_idYes
approval_codeNoThe approval_code from preview_client_message for the exact version the user said yes to. If anything changed since, the request is refused and nothing is stored.
practice_areaNo
matter_summaryYesSummary the USER read and approved for sharing with this lawyer
idempotency_keyNoSame key on retries prevents a duplicate message
attribution_tokenNoSigned campaign/partner token issued by ESQ Matching Engine, if the user arrived through a partner link
human_approval_idNoOnly when preview_client_message returned human_approval: the id of the page where the person approved
opposing_party_nameNoName of the other side, if any, so the firm can check conflicts. Not shared beyond the firm.
preferred_timeframeNo
preferred_contact_methodYes
intake_notice_acknowledgedNoTrue only after the user read: no attorney-client relationship exists yet and the lawyer may decline

Output Schema

NameRequiredDescriptionDefault
noticeYes
statusYes
consentYes
attorneyYes
match_idYes
duplicateYes
next_stepYes
created_atYes
submissionYes
api_versionYes
destinationYes
referral_idYes
consultationYes
last_updatedYes
status_checkNo
status_tokenYes
qualificationYes
delivery_noticeNo
lifecycle_stateYes
attorney_responseYes
consent_text_shownYes
delivered_to_lawyerYes
personal_details_deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / human_approval_id
      Added value: +{
      +  "description": "Only when preview_client_message returned human_approval: the id of the page where the person approved",
      +  "pattern": "^hap_[A-Za-z0-9_-]{16}$",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / approval_code / pattern
      Previous value: -"^apr_[a-f0-9]{32}$"New value: +"^(apr_[a-f0-9]{32}|apr2_[0-9a-z]{6,12}_[a-f0-9]{32})$"
  3. Changed1 schema field changed
    • changedOutput schema / required
      Previous value: -[
      -  "api_version",
      -  "referral_id",
      -  "status",
      -  "lifecycle_state",
      -  "delivered_to_lawyer",
      -  "delivery_notice",
      -  "match_id",
      -  "created_at",
      -  "last_updated",
      -  "attorney",
      -  "destination",
      -  "submission",
      -  "attorney_response",
      -  "consultation",
      -  "qualification",
      -  "consent",
      -  "personal_details_deleted",
      -  "next_step",
      -  "notice",
      -  "duplicate",
      -  "status_token",
      -  "consent_text_shown"
      -]New value: +[
      +  "api_version",
      +  "referral_id",
      +  "status",
      +  "lifecycle_state",
      +  "delivered_to_lawyer",
      +  "match_id",
      +  "created_at",
      +  "last_updated",
      +  "attorney",
      +  "destination",
      +  "submission",
      +  "attorney_response",
      +  "consultation",
      +  "qualification",
      +  "consent",
      +  "personal_details_deleted",
      +  "next_step",
      +  "notice",
      +  "duplicate",
      +  "status_token",
      +  "consent_text_shown"
      +]
  4. Changed3 schema fields changed
    • changedInput schema / properties / approval_code / description
      Previous value: -"The approval_code from prepare_introduction for the exact version the user said yes to. If anything changed since, the request is refused and nothing is stored."New value: +"The approval_code from preview_client_message for the exact version the user said yes to. If anything changed since, the request is refused and nothing is stored."
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Same key on retries prevents a duplicate introduction"New value: +"Same key on retries prevents a duplicate message"
    • changedInput schema / properties / pending_ok / description
      Previous value: -"True only after the user read pending_consent_text and chose to let the request wait for this lawyer to activate the free EsqHarness"New value: +"Deprecated since 2026-11-04 and ignored. Messages no longer wait for anything a lawyer buys."
  5. Changed3 schema fields changed
    • addedInput schema / properties / approval_code
      Added value: +{
      +  "description": "The approval_code from prepare_introduction for the exact version the user said yes to. If anything changed since, the request is refused and nothing is stored.",
      +  "pattern": "^apr_[a-f0-9]{32}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / entry_id
      Added value: +{
      +  "description": "The entry_id from start_from_directory_profile, if the user started from a directory listing. Counts the listing visit; carries no personal data.",
      +  "pattern": "^ent_[A-Za-z0-9_-]{8,40}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / pending_ok
      Added value: +{
      +  "description": "True only after the user read pending_consent_text and chose to let the request wait for this lawyer to activate the free EsqHarness",
      +  "type": "boolean"
      +}
  6. Changed2 schema fields changed
    • addedInput schema / properties / intake_notice_acknowledged
      Added value: +{
      +  "description": "True only after the user read: no attorney-client relationship exists yet and the lawyer may decline",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / opposing_party_name
      Added value: +{
      +  "description": "Name of the other side, if any, so the firm can check conflicts. Not shared beyond the firm.",
      +  "maxLength": 160,
      +  "type": "string"
      +}
  7. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true; the description adds substantive behavior beyond them — refusal and no-store when the recipient or text changed since the yes, storage limited to approved fields, duplicate suppression on retried idempotency_key, and refusal when a key is reused with different details. It also notes the return payload (contact_request_id, lifecycle_state, private status token) and the neutral-placement disclaimer. Nothing contradicts the annotations.

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 redirect to send_client_message is front-loaded where an agent will see it first, and most sentences carry operational content (preconditions, ordering, refusal rules, idempotency). The closing pair of sentences about being a listing service rather than a referral service is a policy disclaimer that does not help invoke the tool and dilutes an otherwise dense paragraph.

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?

For a 17-parameter, destructive, consent-gated write tool with nested objects, the description supplies everything an agent needs to act safely: the human-consent gate, the mandatory preview step, the ordering, the refusal conditions, and retry semantics. An output schema exists, so the brief mention of return fields is a bonus rather than a gap.

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 coverage is 59% across 17 parameters, so the description has to carry weight and does for the highest-risk ones: approval_code must come from preview_client_message for the exact approved version, consent must name the same lawyer, and idempotency_key semantics are spelled out (same key on retry, different details refused). Ancillary parameters such as match_id, practice_area, entry_id, attribution_token and preferred_timeframe get no treatment in the description, which keeps it below 5.

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 first clause resolves the mismatch between the tool name ('request_attorney_introduction') and its real behavior: it is the older name of send_client_message, sending a consent-gated message to one specific lawyer. It names the replacement sibling explicitly, so an agent can disambiguate without opening the schema. It falls short of 5 only because the core action is described indirectly, via reference to another tool, rather than stated as a verb+resource in its own right.

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

Usage Guidelines5/5

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

Preconditions are enumerated concretely: the person must have picked ONE specific lawyer, seen the lawyer's name, the exact message, the details to share and the consent text, and said yes. Exclusions are explicit ('never call it on your own initiative or for several lawyers at once') and the sequencing dependency is stated ('call preview_client_message first and pass its approval_code'). It also routes the agent to send_client_message as the preferred alternative.

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.

Resources