Skip to main content
Glama

Check an interview's budget

get_budget
Read-only

Check how much of an interview's spend guardrail has been used so you can see when cadence will stop asking questions.

Instructions

How much of the interview's spend guardrail has been used. cadence stops asking questions once it is reached.

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": {
      "session_id": "<session_id>"
    },
    "name": "get_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesThe interview's ID, as returned by start_interview or list_interviews.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine domain behavior — that this is a spend guardrail whose exhaustion halts question-asking — but says nothing about what the response contains, its units (currency, tokens, question count), or whether the limit is soft or hard.

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?

Two short sentences with the core concept front-loaded and no filler. The second sentence is a fragment that reads slightly awkwardly ('cadence stops asking questions once it is reached'), but it carries real information rather than padding.

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 one-parameter read tool with annotations and no output schema, the description covers the concept but leaves the return shape and units unexplained, which matters for a 'how much' query. It is adequate but not complete for an agent deciding how to interpret the result.

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?

There is a single required parameter with 100% schema description coverage, and the schema already explains that session_id comes from start_interview or list_interviews. The description adds no further meaning about the identifier, which is acceptable at baseline given full schema coverage.

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 identifies the specific resource being read: how much of an interview's spend guardrail has been consumed. That is more concrete than the bare name 'get_budget' and distinguishes it from the mutation siblings like finish_interview or ask_next_question. It falls short of a 5 because it never states an explicit verb ('returns'/'reports') and doesn't name a contrasting sibling.

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 only implied: the note that questioning stops once the guardrail is reached hints that an agent should check this before asking more questions. There is no explicit when-to-use or when-not-to-use statement and no named alternative, so the agent must infer the call condition.

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