Skip to main content
Glama
pyrfor

onec-odata-mcp

by pyrfor

odata_count

Retrieve the count of records in an OData entity, applying a filter to narrow results as needed.

Instructions

Count records in an OData entity, optionally with filter

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityYesEntity name
filterNoOData $filter expression
Behavior3/5

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

The description indicates a safe read operation ('Count records'), but with no annotations, it does not disclose potential constraints like pagination, timeouts, or the exact return format, leaving some behavioral aspects unclear.

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?

The description is extremely concise at one sentence, with no wasted words. It is front-loaded with the core action, but it could benefit from a bit more detail without becoming verbose.

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's simplicity (2 parameters, no output schema), the description minimally covers the action. However, it fails to specify the return value (e.g., a count number) or any error conditions, which could be important for an AI agent.

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 100%, so the description adds little beyond what the schema already provides ('Entity name' and 'OData $filter expression'). The description reiterates 'optionally with filter' but no new semantic detail.

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 verb 'Count' and the resource 'records in an OData entity', with the optional filter distinguishing it from sibling tools like odata_query which retrieves data.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives like odata_query for retrieving records or odata_build_query for complex queries. The description lacks context for optimal selection.

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