Skip to main content
Glama
PlanPost MCP Server
by lukBB

get_account_group

Read-onlyIdempotent

Fetch one account group by ID, name, or default flag and return its connectionIds for create_post; ambiguous names return candidate groups.

Instructions

Fetch one account group by id, name, or default flag. Returns the group's connectionIds[] so they can be passed straight to create_post. Name matching is case-insensitive (exact match preferred, substring fallback). If the name is ambiguous the server returns 300 with the candidates.

Input Schema

NameRequiredDescriptionDefault
defaultNoWhen true, fetch the team's default group and ignore idOrName.
idOrNameNoMongo ObjectId or group name (e.g. 'Polish Pages'). Omit when using default=true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description correctly spends its words elsewhere: case-insensitive name resolution with exact-match preference then substring fallback, and the ambiguous-name behavior (HTTP 300 returning candidates). That error-path disclosure is real value beyond the annotations, though permissions or rate-limit context is absent.

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: what it fetches, what it returns and where that output goes next, then resolution/error semantics. Nothing is repeated and the primary purpose is front-loaded.

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?

For a two-parameter read tool with no output schema, the description supplies the essentials: return shape (connectionIds[]), name-matching rules, and the ambiguous-result response code. An agent has enough to call it and handle both success and the 300 case.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description raises it by explaining the matching algorithm and priority order for idOrName, which the schema's 'Mongo ObjectId or group name' does not. It also clarifies the interplay between default and idOrName, beyond the schema's 'ignore idOrName' phrasing.

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 ('Fetch one account group') and enumerates the three lookup keys (id, name, default flag), which cleanly separates it from the sibling list_account_groups. An agent can pick this over the list tool without reading either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Makes the intended downstream flow explicit: the returned connectionIds[] 'can be passed straight to create_post', naming the consuming sibling tool. It does not explicitly exclude alternatives such as list_account_groups when the id is unknown, which keeps it short of a 5.

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