Skip to main content
Glama

Attach Task Relationships

attach-task-to-entities-tool
Idempotent

Attach a task to companies, people, opportunities, or assign to users. Adds links without removing existing ones.

Input Schema

NameRequiredDescriptionDefault
idYesThe task ID.
people_idsNoPeople IDs to attach this task to.
company_idsNoCompany IDs to attach this task to.
assignee_idsNoUser IDs to assign this task to. Use whoami tool to discover valid user IDs.
opportunity_idsNoOpportunity IDs to attach this task to.

Output Schema

NameRequiredDescriptionDefault
dataYes
relationship_countsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and idempotentHint=true, so the additive semantics is partly covered; the description's restatement adds mild confirmation rather than new information. It says nothing about batch failure behavior (e.g. whether an invalid ID aborts the whole attach), permission requirements, or the effect on entities not listed. For a mutation tool with annotation coverage, a 3 fits.

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?

Two short sentences, zero waste, with the resource/scope stated before the additive-behavior caveat. Nothing redundant and nothing buried.

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?

An output schema exists and all five parameters are documented, so the definition is nearly complete for a straightforward relationship-creation tool with full annotations. The remaining gap is batch/error semantics when multiple IDs are supplied, which an agent may need before calling with arrays.

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% and the schema already tells the agent which IDs go where, including a pointer to the whoami tool for user IDs. The description merely re-lists the four entity types without adding format, limits, or array-size guidance, so the baseline 3 applies.

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?

Specific verb+resource: 'Attach a task to companies, people, opportunities, or assign to users,' which maps cleanly onto the four relationship parameters. It is implicitly distinguishable from detach-task-from-entities-tool and attach-note-to-entities-tool, but it never names a sibling explicitly, so it stops short of the top tier.

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?

'Adds links without removing existing ones' gives a useful hint about when this is appropriate versus an update/replace operation, but there is no explicit when-to-use, when-not-to-use, or routing to detach-task-from-entities-tool. Usage has to be inferred from the verb.

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.