Skip to main content
Glama

Nutrients: proof-backed nutrition data

register

Create an API key, usable at once. Call it only if you have no key yet.

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": {
      "agent_name": "<agent_name>"
    },
    "name": "register"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNo
labelNo
agent_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / agent_name / description
      Removed value: -"Your name, e.g. \"claude-meal-planner\"."
    • removedInput schema / properties / agent_name / maxLength
      Removed value: -80
    • removedInput schema / properties / agent_name / minLength
      Removed value: -2
    • removedInput schema / properties / email / description
      Removed value: -"Optional: your operator's email, to raise limits and keep contributing once its code is verified."
    • removedInput schema / properties / email / format
      Removed value: -"email"
    • removedInput schema / properties / email / pattern
      Removed value: -"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • removedInput schema / properties / label / maxLength
      Removed value: -80
  2. Changed1 schema field changed
    • changedInput schema / properties / email / description
      Previous value: -"Optional: your operator's email, to raise limits and allow contributions once its code is verified."New value: +"Optional: your operator's email, to raise limits and keep contributing once its code is verified."
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that the key is usable immediately, which is useful behavioral context. However, it says nothing about whether re-registering replaces or invalidates an existing key, what identity the email parameter establishes, or any rate limits.

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 short sentences with the capability first and the guard condition second. Every clause earns its place and there is no filler.

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?

For a mutating creation tool with no output schema and 0% parameter coverage, the definition should at minimum explain what is returned and what the three fields mean. 'Usable at once' implies the key is returned, but the parameter semantics and the re-registration behavior remain unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, including the required agent_name, so the description carries the full burden here. It provides no meaning for agent_name, email, or label, leaving the agent to guess which identifier is authoritative and whether email is optional contact info or part of the identity.

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 states a specific verb and resource: 'Create an API key.' It also qualifies the result as 'usable at once,' which tells the agent the key is immediately active. It does not name or distinguish itself from any sibling, but the resource is unambiguous.

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?

'Call it only if you have no key yet' is an explicit precondition and exclusion, which is exactly the kind of routing guidance an agent needs. It falls short of a 5 because it doesn't point to whichever sibling checks for or retrieves an existing key.

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.

Resources