Skip to main content
Glama

Dodaj do grupy

add_to_group
Idempotent

Add to group

Add existing contacts (ct_…) or phone numbers to a group from list_groups. Missing numbers are created as contacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
msisdnsNoNumery: brakujące kontakty zostaną utworzone.
group_idYesId grupy grp_… z list_groups.
contact_idsNoId kontaktów ct_… do dodania.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / msisdns / description
      Previous value: -"Numery — brakujące kontakty zostaną utworzone."New value: +"Numery: brakujące kontakty zostaną utworzone."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / contact_ids / description
      Added value: +"Id kontaktów ct_… do dodania."
    • addedInput schema / properties / group_id / description
      Added value: +"Id grupy grp_… z list_groups."
    • addedInput schema / properties / msisdns / description
      Added value: +"Numery — brakujące kontakty zostaną utworzone."
    • changedInput schema / properties / msisdns / items / description
      Previous value: -"Numer telefonu w formacie E.164, np. +48533991881. Numer 9-cyfrowy bez prefiksu = Polska."New value: +"Phone number in E.164. Example: +48533991881. A 9-digit number without prefix is treated as Polish."
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context: missing numbers are automatically created as contacts, and it clarifies that both contact IDs (ct_…) and phone numbers are accepted. This goes beyond the schema by explaining the side effect of creating missing contacts.

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 short and front-loaded with the core action. The second sentence adds a key behavioral detail. It's efficient, though the title 'Dodaj do grupy' is Polish and the description is in English, which is a minor inconsistency but doesn't hurt clarity for an English-speaking agent.

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?

The tool has an output schema, so return values are documented elsewhere. The description covers the essential input types (contact IDs and phone numbers), the source of group IDs, and the side effect of creating missing contacts. With annotations covering idempotency and non-destructiveness, the description is complete enough for an agent to invoke this tool correctly. A minor gap is not explaining what happens if a contact is already in the group, but idempotentHint=true implies it's safe.

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 the schema already documents all three parameters. The description adds a small amount of meaning by explaining that msisdns are phone numbers and that missing ones are created, but this largely mirrors the schema's own description ('Numery: brakujące kontakty zostaną utworzone.'). The description doesn't add significant new semantics beyond the schema.

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?

The description states a clear action ('Add existing contacts or phone numbers to a group') and identifies the source of group IDs ('from list_groups'). It distinguishes itself from sibling tools like add_to_blacklist and upsert_contacts by focusing on group membership. However, it doesn't explicitly name a sibling alternative, so it doesn't fully differentiate itself from tools like upsert_contacts which also handle contact creation.

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 when to use this tool: when you need to add contacts/numbers to a group, and it references list_groups as the source for group_id. It also notes that missing numbers are created as contacts, which hints at a behavior relevant to choosing this over upsert_contacts. However, it doesn't explicitly state when not to use it or name alternatives like upsert_contacts for bulk contact creation.

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.