A tool that returns the wrong shape

A tool that returns the wrong shape is a Pro MCP practice rep on Get AI Reps. Your weather tool declares this output schema: {"temp_c": number, "city": string}. But it returns the result below, so the model misreads it. You do the task on this page, and it is graded instantly against a fixed checklist. It is part of Pro: $12 a month or $99 a year.

Track MCPDifficulty Hard+25 XPFix the JSONPRO
get-ai-reps / prompting / rep-1
0 reps done
All reps

What you practice

Connect AI to tools: configs, servers, security.

Fix AI-made JSON so a program can read it. It must pass every check on this list:

  • Valid JSON
  • temp_c is the number 21
  • city is Lisbon
  • No extra keys

Keep going