Skip to main content
Glama

Add Contact to List

contact_add_to_list

Add an existing contact to a contact list by providing the contact ID and list ID. The contact is copied to the list, retaining the original.

Instructions

✏️ Add a contact to a contact list (requires user confirmation recommended)

Adds an existing contact to a contact folder (list). The contact is copied to the list, so it will exist in both the original location and the list.

Args: account_id: Microsoft account ID contact_id: The contact ID to add list_id: The contact list/folder ID

Returns: Copy of the contact in the new list

Raises: ValueError: If contact or list is not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
contact_idYes
list_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description discloses key behavioral traits: the contact is copied (not moved), and it requires user confirmation. Annotations only indicate readOnlyHint=false and openWorldHint=true, so the description adds significant context beyond annotations.

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?

The description is concise and well-structured, with a purpose statement, behavior details, parameter list, return value, and error information. No unnecessary words.

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 the tool's simplicity, the description is complete: it explains the operation, all parameters, return type, and possible error. Even with an existing output schema, it provides necessary context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully explains each parameter (account_id, contact_id, list_id) with clear meanings. This compensates entirely for the lack of schema descriptions.

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 clearly states the action 'Add a contact to a contact list' and explains that the contact is copied, distinguishing it from creating a new contact or list. It uses a specific verb-resource pair.

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?

The description implies usage for adding existing contacts to lists but does not explicitly state when to use this tool vs alternatives like contact_update or search_contacts. No exclusions or context for when not to use it are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/robin-collins/m365-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server