Skip to main content
Glama

Attach flow to CRM

attach_flow_to_crm

Attach a Wavelength flow to a HubSpot deal as a note, with the flow title, an optional summary, and a share link. If the flow is public, the public link is used; otherwise the open_url is used. If HubSpot is not connected, returns an error telling the user to connect HubSpot in Wavelength settings.

Input Schema

NameRequiredDescriptionDefault
deal_idYesThe HubSpot deal id to attach the flow to.
flow_idYesThe id of the flow to attach.
summaryNoOptional summary to include in the note, up to 1000 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare write (readOnlyHint=false), open-world, and non-idempotent behavior. The description adds value beyond them: it explains link-selection logic (public link vs open_url) and the connection-failure error path. It does not cover duplicate/repeat-attach behavior, which is relevant given idempotentHint=false.

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?

Three tight sentences with the primary action front-loaded, followed by link-selection and error behavior. No filler or repetition, and each sentence adds usable 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?

For a write tool with annotations and no output schema, the description covers the destination, the link rule, and the failure mode. It omits success/return behavior and repeat-attach semantics, which is a minor gap given the annotations already flag non-idempotency.

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 100%, so all three parameters (deal_id, flow_id, summary with its 1000-char limit) are already documented. The description restates the summary and link concept but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource: attaches a Wavelength flow to a HubSpot deal as a note. It distinguishes itself from the many send_flow_to_* siblings by naming the concrete destination (HubSpot deal / note) rather than a generic 'send'. An agent can identify the tool without opening the schema.

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?

Usage is implied by the CRM/HubSpot framing, and a precondition is given (HubSpot must be connected or an error is returned). However, there is no explicit when-to-use vs alternatives guidance, e.g. how this differs from the send_flow_to_salesforce/servicenow siblings or from search_crm_deals/crm_status.

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