Skip to main content
Glama

insync_get_counts

Read-only

Retrieve patient dashboard badge counts—unread messages, medications, allergies, problems, lab results, immunizations, and pending forms or surveys—to show current portal workload and alerts.

Instructions

Get the patient dashboard badge counts: unread messages, medications, allergies, problems, lab results, immunizations, and pending patient forms and surveys.

Input Schema

NameRequiredDescriptionDefault
viewNoResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands; "raw" returns the upstream payload unprojected. compact projects each record to the fields a caller acts on; "full" keeps every field this server understands; "raw" returns the portal payload untouched.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds useful specifics about which badge categories are included, though it omits details such as freshness/caching or whether counts are scoped to the authenticated patient.

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?

A single front-loaded sentence with no filler. Every element earns its place by identifying the resource and enumerating the returned count categories.

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?

There is no output schema, so the description must convey the return values; it does so by listing each badge-count category. With annotations covering safety and the schema covering the only parameter, an agent has enough to call this correctly.

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 single 'view' parameter has a detailed enum description, so the schema carries parameter semantics. The tool description does not mention 'view' or add any parameter-level meaning beyond the schema, which is acceptable at the baseline of 3.

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 ('Get') and resource ('patient dashboard badge counts'), then enumerates the exact counts returned. This distinguishes it from sibling list_* tools because it is explicitly a summary badge-count endpoint rather than a detail listing.

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 phrase 'patient dashboard badge counts' implies this is the summary/dashboard endpoint, but the description never explicitly says when to use it instead of insync_list_medications, insync_list_allergies, etc. No exclusions or alternative-routing guidance are provided.

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