Skip to main content
Glama

Query Entity

query_entity
Read-onlyIdempotent

Query app data records for one entity with optional exact-match filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort field, prefix with - for descending-created_date
limitNoMax records to return
app_idYesThe app ID
entityYesEntity name, for example Patient
offsetNoPagination offset
filtersNoExact-match field filters

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lowered. The description adds value by clarifying that filters are 'exact-match' and that the query is for 'one entity', which informs expected behavior (no fuzzy search, scoped to a single entity type). This is contextual detail beyond the annotations, though it does not describe pagination or return format.

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 a single, efficient sentence that front-loads the verb and resource. There is no filler or repetition. Every part earns its place by conveying action, scope, and a key behavior (exact-match) in minimal words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 6 parameters (2 required) and no output schema, the description provides the core purpose but omits details like the return structure (probably a list of records) and how filters interact with nesting (filters is an object). The schema covers parameter types, but without an output schema the agent might benefit from a note on the response. The description is adequate for a simple query tool but not fully complete.

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 all six parameters have their own descriptions in the schema. The tool description mentions 'exact-match filters' which echoes the filters parameter's schema description but does not add new semantics. With full coverage, the baseline is 3, and the description does not exceed that.

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 clearly states the action (Query), the resource (app data records for one entity), and the optional capability (exact-match filters). It is specific enough to distinguish from mutation siblings like create_entity_records or delete_entity_records, and from get_entities which likely lists entities rather than records. It is not a tautology and uses a precise verb.

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 (to query records of a single entity) but does not explicitly state when not to use it or mention alternatives. For instance, it does not say 'use get_entities to list entities' or 'use update_entity_records to modify'. An agent must infer the appropriate sibling based on context, so guidance is adequate but not explicit.

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.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes with detailed descriptions, but there are some overlapping pairs like read_app_file/read_app_files and create_entity_records vs seed_entity, which could cause misselection. Singular/plural variants and compatibility tools introduce minor ambiguity, but the majority are well-separated.

Naming Consistency4/5

Tool names predominantly follow a consistent verb_noun pattern (e.g., create_app, get_entities, delete_secret). There are some variations like 'agency_create_client' and 'seed_entity' that deviate slightly, but the overall convention is predictable and readable.

Tool Count2/5

With 82 tools, the server is far above the typical range and feels overwhelming. Even for a full platform API, the count is extreme and likely increases selection complexity. A more curated set would improve navigability without sacrificing capability.

Completeness5/5

The tool surface is exceptionally comprehensive, covering app lifecycle, file operations, entity CRUD, versioning, A/B testing, secrets, integrations, domains, agents, scheduling, policies, and member management. No obvious missing operations for the platform's scope; it even includes validation and workflow guidance tools.

Resources