Skip to main content
Glama
pyrfor

onec-odata-mcp

by pyrfor

odata_build_query

Build validated OData query parameters from structured filters, date periods, sorts, and top. Returns query params and explanation for querying 1C:Enterprise entities.

Instructions

Build validated OData query parameters from structured intent (filters, date period, sort, top). Returns params for odata_query + human explanation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo
entityYesTarget entity name
expandNo
selectNo
filtersNoStructured filters: field, operator (eq/ne/gt/ge/lt/le/contains/startswith), value
orderByNo
datePeriodNo
Behavior3/5

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

No annotations provided, so description carries burden. It describes a build operation with no side effects, which is reasonable, but doesn't explicitly state safety or lack of mutations.

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?

Two sentences, front-loaded with action and output, no unnecessary words.

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

Completeness2/5

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

Given 7 parameters with nested objects and no output schema, the description is too brief. Missing details on return format, validation behavior, error handling, and examples.

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 coverage is low (29%), and description only broadly mentions parameter categories (filters, date period, sort, top). It adds some grouping but lacks detailed semantics for individual parameters.

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?

The description clearly states the tool builds validated OData query parameters from structured intent and returns them for use with odata_query. It distinguishes itself from odata_query (execution) by being a preparatory step.

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?

Description implies it should be used before odata_query. It doesn't explicitly state when not to use or alternatives, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pyrfor/onec-odata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server