Skip to main content
Glama

Query Webling objects

webling_query
Read-onlyIdempotent

Query and list Webling objects like members, debtors, or events using filter expressions and sort order to return only the fields or IDs you need.

Instructions

Lists objects of any type with optional Webling filter and sort order (see resource webling://docs/query-language). Examples: type=member filter=Ort = "Bern"; type=debitor filter=state = "open" AND duedate < TODAY(); type=calendarevent filter=begin > NOW() order=begin ASC.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>"
    },
    "name": "webling_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
typeYesWebling object type, e.g. "member", "membergroup", "debitor", "calendarevent", "entry", "account".
orderNoSort order, e.g. `Name` ASC, `Vorname` ASC
fieldsNoOnly return these property names (keeps answers small). Omit for all non-empty properties.
filterNoWebling filter expression.
ids_onlyNoReturn only matching IDs (cheap; good for counting). Ignores page/per_page and returns all IDs.
per_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the pointer to the query-language docs resource, which is useful, but says nothing about pagination behavior, result size limits, or what happens when fields is omitted.

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?

Core capability is front-loaded in the first clause, followed by a docs pointer and examples. The example run is somewhat long but each example demonstrates a distinct filter pattern, so little is wasted.

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?

With seven parameters, no output schema and no return-value description, the definition leaves pagination (page/per_page), the ids_only shortcut and the fields projection unexplained. The docs resource reference partly compensates, but the definition is only adequate for a multi-parameter query surface.

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 71% and the schema itself describes each parameter, but the description goes beyond it by showing real filter expression syntax (`Ort` = "Bern", state = "open" AND duedate < TODAY()) and an order clause, which is meaning the schema's terse 'Webling filter expression' does not provide.

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?

States a specific verb and resource: 'Lists objects of any type' with optional filter and sort. The 'any type' scope implicitly separates it from type-specific siblings like webling_find_members, webling_list_groups and webling_upcoming_events, though no sibling is named explicitly.

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?

Usage is conveyed only through three concrete example queries rather than explicit when-to-use/when-not statements. There is no guidance on when to prefer a specialized sibling such as find_members or open_invoices over this generic query tool.

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