Skip to main content
Glama

add_contact

Add a provider to your agent's contacts list, enriched with last job date and capability from local history. Updates existing contacts without duplicates.

Instructions

Add a provider to the active agent's contacts list (.contacts.json). When the provider has prior jobs in the local history, the contact is enriched with lastJobAt and lastCapability. Idempotent: re-calling with the same npub updates name/note in place without duplicating the entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
noteNo
npubYes
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It discloses idempotency and enrichment from prior jobs, but omits other critical traits such as permission requirements, error states, or synchronous behavior. For a mutation tool, more details on side effects are needed.

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 with only two sentences, each earning its place. The first sentence states the primary action, and the second adds important behavioral details (enrichment, idempotency). No fluff or repetition.

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?

Given the tool's relative simplicity and no output schema, the description covers key aspects: addition, enrichment, idempotency. However, it lacks info on return values, error handling, or required permissions. Since sibling tools exist, basic completeness is achieved but not exhaustive.

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 0%, so the description must compensate. It clarifies that npub identifies the provider and that name/note are updatable on re-call, but does not explain their purpose or constraints beyond maxLength. This adds some meaning but is insufficient for full understanding.

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 'Add a provider to the active agent's contacts list' with a specific verb (add) and resource (contacts list). It also distinguishes from sibling tools like remove_contact and list_contacts by focusing on addition behavior, including the enrichment and idempotent update details.

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 when adding a contact, but does not explicitly contrast with alternatives like remove_contact or list_contacts. There is no guidance on when not to use this tool or refer to siblings. The context is clear from the action, but lack of explicit exclusions lowers the score.

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/elisymlabs/elisym'

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