Skip to main content
Glama

Preview my message to one lawyer (nothing is sent)

preview_client_message
Read-onlyIdempotent

Use when the person wants to contact ONE lawyer they picked ("write my message"). Builds a short, editable first message from general facts the person gives (type of legal issue, location, help wanted, timing, optional budget, contact method), asks the lawyer what is unknown (handles this kind of issue? taking new clients? consultation fee?), and returns the exact recipient, message, contact fields, notice, consent text and an approval_code. Stores and sends nothing. Show all of it to the person; only after an explicit yes call send_client_message with after_yes.arguments. Any change by the person means calling this again and asking again. This is a listing service, not a lawyer referral service. No lawyer pays for placement or ranking of any kind.

Input Schema

NameRequiredDescriptionDefault
stateYesState where the MATTER is (not the lawyer's office state). Ask the user; do not infer it.
budgetNoOptional budget in the user's words
timingNoTiming as the USER reported it. Not checked or calculated.
contactYesOnly the contact details the user chose to give for this lawyer
messageNoThe user's edited message. Omit to get a short draft; pass the user's final wording after any edit.
entry_idNo
assistanceNoWhat help the user wants, in a few words (e.g. 'a will and a trust', 'advice on an eviction notice')
attorney_idYes
practice_areaNoGeneral matter type in plain words, e.g. 'estate planning'
matter_locationNoCity or county of the matter, as the user said it
preferred_contact_methodYes

Output Schema

NameRequiredDescriptionDefault
storedYes
messageYes
noticesYes
blockersYes
deliveryYes
after_yesYes
legal_aidNo
recipientYes
show_userYes
api_versionYes
consent_textYes
approval_codeYes
intake_noticeYes
if_blocked_sayNo
coverage_noticeNo
fields_to_shareYes
message_is_draftYes
fields_authorizedYes
can_request_introductionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, non-destructive), yet the description adds real context: nothing is stored or sent, an approval_code plus consent and notice text is returned, and the person must be shown everything before approval. Minor gap: it does not say whether preview output can go stale relative to the lawyer's live availability, or how after_yes.arguments is shaped.

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 front-loaded with the trigger and the outcome, then the approval protocol, then the service disclaimer, so ordering is sound. It is dense and somewhat run-on in a single paragraph, and the closing listing-service/no-paid-placement sentence, while relevant to disclosure, sits outside the tool's mechanics.

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 an 11-parameter tool with a nested contact object and an output schema, the description covers what the agent must do (gather, draft, surface, await explicit consent, re-run on edits) and what comes back at a high level without duplicating the output schema. Nothing needed to invoke it correctly appears to be missing.

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 73%, and the description compensates for much of the remainder by naming the facts to collect (issue type, location, help wanted, timing, optional budget, contact method), which maps onto practice_area, state/matter_location, assistance, timing, budget and preferred_contact_method. It does not explain attorney_id vs entry_id, nor the required nature of preferred_contact_method and the nested contact object.

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 opens with a specific verb and resource ('Builds a short, editable first message') scoped precisely to ONE lawyer, and the title reinforces that nothing is sent. It is unambiguously distinguishable from the sibling send_client_message, which it names as the follow-on action.

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?

It states the triggering user intent ('wants to contact ONE lawyer' / 'write my message'), the exact handoff condition ('only after an explicit yes call send_client_message with after_yes.arguments'), and the re-entry rule ('Any change by the person means calling this again and asking again'). No alternatives are left to inference.

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