Skip to main content
Glama
GetSensr-io

Sensor Bio MCP Server

Official
by GetSensr-io

get_calories

Get calorie details for a user by user ID, with optional date and granularity (day, week, month, year) to aggregate data.

Instructions

Get calorie details for a user.

Params:

  • user_id (str, required)

  • date (YYYY-MM-DD, optional; default: today in SENSR_TZ or America/Chicago)

  • granularity (enum str, optional; default 'day'): day|week|month|year

Returns: Sensr /v1/calorie/details response

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
user_idYes
granularityNoday

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only states the verb and resource. It omits details about authentication requirements, data freshness, or whether the request is idempotent. The return line merely references an endpoint without explaining the response structure.

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 concise and front-loaded with the purpose. The parameter list is clearly structured, though it could be more integrated into a flowing sentence. The inclusion of the return line adds value without excessive length.

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 and the presence of an output schema, the description provides basic completeness. However, it lacks context about the scope of data (e.g., whether it includes all users or a specific user) and does not explain the significance of the granularity parameter or the default date behavior in practical terms.

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?

Although the input schema has no descriptions, the description adds meaning by specifying the date format (YYYY-MM-DD), the default time zone (SENSR_TZ or America/Chicago), and the valid granularity values (day|week|month|year). This compensates for the 0% schema description coverage and clarifies usage for the optional 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's action: 'Get calorie details for a user.' The verb 'get' and resource 'calorie details' are specific and distinct from sibling tools like get_sleep or get_scores, which target different health metrics.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, such as whether the user must have data for the specified date, nor does it indicate when another tool like get_activities would be more appropriate.

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/GetSensr-io/sensorbio-mcp-server'

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